Skip to content

Commit

Permalink
[java] Oh, I've mixed up system properties with env variables...
Browse files Browse the repository at this point in the history
  • Loading branch information
barancev committed Apr 7, 2020
1 parent 58d9c1c commit 098eb99
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,7 @@ public void setUp() throws URISyntaxException {
@Test
public void canConfigureNodeWithDriverDetection() {
assumeFalse("We don't have driver servers in PATH when we run unit tests",
Boolean.getBoolean("TRAVIS"));
System.out.println("Wonder why assumeFalse did not work, TRAVIS = " + Boolean.getBoolean("TRAVIS"));
System.getenv().forEach((k, v) -> System.out.println(String.format("%s=%s", k, v)));
Boolean.parseBoolean(System.getenv("TRAVIS")));

Config config = new MapConfig(ImmutableMap.of(
"node", ImmutableMap.of("detect-drivers", "true")));
Expand Down

0 comments on commit 098eb99

Please sign in to comment.