diff options
Diffstat (limited to 'cpp/test')
-rw-r--r-- | cpp/test/IceGrid/replication/AllTests.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/cpp/test/IceGrid/replication/AllTests.cpp b/cpp/test/IceGrid/replication/AllTests.cpp index a1670e49ac4..96ecf08aa20 100644 --- a/cpp/test/IceGrid/replication/AllTests.cpp +++ b/cpp/test/IceGrid/replication/AllTests.cpp @@ -1436,6 +1436,17 @@ allTests(Test::TestHelper* helper) test(masterAdmin->getAdapterInfo("TestReplicaGroup").size() == 2); admin->sendSignal("Node2", "SIGSTOP"); + try + { + // Wait for Node2 to be stopped by getting the TestAdapter.Server2 enpdoints + while(true) + { + masterAdmin->ice_invocationTimeout(100)->getAdapterInfo("TestAdapter.Server2"); + } + } + catch(const Ice::InvocationTimeoutException&) + { + } test(query->findAllReplicas(comm->stringToProxy("test")).size() == 2); try |