diff options
author | Benoit Foucher <benoit@zeroc.com> | 2019-09-13 14:44:31 +0200 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2019-09-13 14:44:31 +0200 |
commit | b41c76da823b80fa022b1e2bddc6bbea4ba26b8c (patch) | |
tree | 204fe3982849df07b76d5ccfbb7220b7fcb98931 /cpp/test | |
parent | Added tracing for IceGrid/replicaGroup test, fix for #526 (diff) | |
download | ice-b41c76da823b80fa022b1e2bddc6bbea4ba26b8c.tar.bz2 ice-b41c76da823b80fa022b1e2bddc6bbea4ba26b8c.tar.xz ice-b41c76da823b80fa022b1e2bddc6bbea4ba26b8c.zip |
Fixed IceGrid/replicaGroup test failure, fixes #526
Diffstat (limited to 'cpp/test')
-rw-r--r-- | cpp/test/IceGrid/replicaGroup/AllTests.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cpp/test/IceGrid/replicaGroup/AllTests.cpp b/cpp/test/IceGrid/replicaGroup/AllTests.cpp index 69ab93275c9..ab0d3913df3 100644 --- a/cpp/test/IceGrid/replicaGroup/AllTests.cpp +++ b/cpp/test/IceGrid/replicaGroup/AllTests.cpp @@ -262,6 +262,8 @@ allTests(Test::TestHelper* helper) params["id"] = "IceBox1"; instantiateServer(admin, "IceBox", "localnode", params); TestIntfPrx obj = TestIntfPrx::uncheckedCast(comm->stringToProxy("RoundRobin")); + obj = TestIntfPrx::uncheckedCast(obj->ice_locatorCacheTimeout(0)); + obj = TestIntfPrx::uncheckedCast(obj->ice_connectionCached(false)); try { test(obj->getReplicaIdAndShutdown() == "IceBox1.Service1.Service1"); @@ -314,6 +316,8 @@ allTests(Test::TestHelper* helper) params["id"] = "IceBox1"; instantiateServer(admin, "IceBox", "localnode", params); TestIntfPrx obj = TestIntfPrx::uncheckedCast(comm->stringToProxy("Ordered")); + obj = TestIntfPrx::uncheckedCast(obj->ice_locatorCacheTimeout(0)); + obj = TestIntfPrx::uncheckedCast(obj->ice_connectionCached(false)); try { test(obj->getReplicaIdAndShutdown() == "IceBox1.Service3.Service3"); |