From 098eb99991fcff317612bed537904127b34e6c9a Mon Sep 17 00:00:00 2001 From: Alexei Barantsev Date: Tue, 7 Apr 2020 10:14:04 +0300 Subject: [PATCH] [java] Oh, I've mixed up system properties with env variables... --- .../org/openqa/selenium/grid/node/config/NodeOptionsTest.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/java/server/test/org/openqa/selenium/grid/node/config/NodeOptionsTest.java b/java/server/test/org/openqa/selenium/grid/node/config/NodeOptionsTest.java index a49f64a64ba4e..6bc44793104e3 100644 --- a/java/server/test/org/openqa/selenium/grid/node/config/NodeOptionsTest.java +++ b/java/server/test/org/openqa/selenium/grid/node/config/NodeOptionsTest.java @@ -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")));