summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2019-09-13 14:44:31 +0200
committerBenoit Foucher <benoit@zeroc.com>2019-09-13 14:44:31 +0200
commitb41c76da823b80fa022b1e2bddc6bbea4ba26b8c (patch)
tree204fe3982849df07b76d5ccfbb7220b7fcb98931
parentAdded tracing for IceGrid/replicaGroup test, fix for #526 (diff)
downloadice-b41c76da823b80fa022b1e2bddc6bbea4ba26b8c.tar.bz2
ice-b41c76da823b80fa022b1e2bddc6bbea4ba26b8c.tar.xz
ice-b41c76da823b80fa022b1e2bddc6bbea4ba26b8c.zip
Fixed IceGrid/replicaGroup test failure, fixes #526
-rw-r--r--cpp/test/IceGrid/replicaGroup/AllTests.cpp4
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");