Skip to content

Commit

Permalink
Re-enable testing of all Grid modes in the EndToEndTest
Browse files Browse the repository at this point in the history
  • Loading branch information
shs96c committed Apr 26, 2021
1 parent c13ec4e commit 93c9ec7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,8 @@ public Deployment start(Capabilities capabilities, Config additionalConfig) {
additionalConfig,
new TomlConfig(new StringReader(String.join("\n", rawConfig)))));

Server<?> server = new Standalone().asServer(new CompoundConfig(setRandomPort(), config)).start();waitUntilReady(server, Duration.ofSeconds(5));
Server<?> server = new Standalone().asServer(new CompoundConfig(setRandomPort(), config)).start();
waitUntilReady(server, Duration.ofSeconds(5));

return new Deployment(server, server::stop);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,13 @@ public static Collection<Supplier<Deployment>> buildGrids() {
"driver-factories = [\n" +
String.format("\"%s\",", TestSessionFactoryFactory.class.getName()) + "\n" +
String.format("\"%s\"", rawCaps.toString().replace("\"", "\\\"")) + "\n" +
"]"));
"]\n" +
"[sessionqueue]\n" +
"session-request-timeout = 5"));

return ImmutableSet.of(
// () -> DeploymentTypes.DISTRIBUTED.start(CAPS, additionalConfig),
// () -> DeploymentTypes.HUB_AND_NODE.start(CAPS, additionalConfig),
() -> DeploymentTypes.DISTRIBUTED.start(CAPS, additionalConfig),
() -> DeploymentTypes.HUB_AND_NODE.start(CAPS, additionalConfig),
() -> DeploymentTypes.STANDALONE.start(CAPS, additionalConfig));
}

Expand Down

0 comments on commit 93c9ec7

Please sign in to comment.