We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d06e54a commit 41f1681Copy full SHA for 41f1681
java/server/test/org/openqa/grid/internal/utils/configuration/GridNodeConfigurationTest.java
@@ -34,6 +34,7 @@
34
import org.openqa.grid.common.exception.GridConfigurationException;
35
import org.openqa.grid.internal.cli.GridNodeCliOptions;
36
import org.openqa.selenium.Platform;
37
+import org.openqa.selenium.json.Json;
38
import org.openqa.selenium.remote.DesiredCapabilities;
39
40
import java.io.IOException;
@@ -186,7 +187,7 @@ public void testAsJson() {
186
187
+ "\"debug\":false,"
188
+ "\"port\":5555,"
189
+ "\"role\":\"node\","
- + "\"timeout\":1800}", gnc.toJson().toString());
190
+ + "\"timeout\":1800}", new Json().toJson(gnc.toJson()));
191
}
192
193
@Test
0 commit comments