Przeglądaj źródła

sets up commands to replicate the same behaviour that the local in-memory tests did

tristangurtler 3 lat temu
rodzic
commit
494c838700

+ 3 - 0
prsona/cfg/clientIPs.cfg

@@ -1,2 +1,5 @@
 127.0.0.1:8082
 127.0.0.1:8083
+127.0.0.1:8084
+127.0.0.1:8085
+127.0.0.1:8086

+ 16 - 0
prsona/cfg/commands.cfg

@@ -1,3 +1,19 @@
 V 127.0.0.1:8082
+V 127.0.0.1:8083
+V 127.0.0.1:8084
+V 127.0.0.1:8085
+V 127.0.0.1:8086
+E
+V 127.0.0.1:8082
+V 127.0.0.1:8083
+V 127.0.0.1:8084
+V 127.0.0.1:8085
+V 127.0.0.1:8086
+E
+V 127.0.0.1:8082
+V 127.0.0.1:8083
+V 127.0.0.1:8084
+V 127.0.0.1:8085
+V 127.0.0.1:8086
 E
 R 127.0.0.1:8083 127.0.0.1:8082

+ 2 - 0
prsona/src/orchestratorMain.cpp

@@ -295,6 +295,8 @@ void execute_experiment(string dealer, int dealerPort)
 
         line++;
     }
+
+    wait_for_servers_ready(dealer, dealerPort);
 }
 
 int main(int argc, char* argv[])