[grid] Adding hub url for hub-node tests
[skip ci]
@@ -126,8 +126,11 @@ public Deployment start(Capabilities capabilities, Config additionalConfig) {
Server<?> hub = new Hub().asServer(hubConfig).start();
+ MapConfig additionalNodeConfig = new MapConfig(Map.of("node", Map.of("hub", hub.getUrl())));
+
Config nodeConfig = new MemoizedConfig(
new CompoundConfig(
+ additionalNodeConfig,
setRandomPort(),
baseConfig));
Server<?> node = new NodeServer().asServer(nodeConfig).start();
