summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/retry/Client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/test/Ice/retry/Client.cpp')
-rw-r--r--cpp/test/Ice/retry/Client.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/cpp/test/Ice/retry/Client.cpp b/cpp/test/Ice/retry/Client.cpp
index c023b7c11c4..5b877b2c1a9 100644
--- a/cpp/test/Ice/retry/Client.cpp
+++ b/cpp/test/Ice/retry/Client.cpp
@@ -10,6 +10,7 @@
#include <Ice/Ice.h>
#include <TestCommon.h>
#include <Test.h>
+#include <InstrumentationI.h>
DEFINE_TEST("client")
@@ -35,11 +36,9 @@ main(int argc, char* argv[])
{
Ice::InitializationData initData;
initData.properties = Ice::createProperties(argc, argv);
+ initData.observer = getObserver();
- //
- // For this test, we want to disable retries.
- //
- initData.properties->setProperty("Ice.RetryIntervals", "-1");
+ initData.properties->setProperty("Ice.RetryIntervals", "0 10 20 30");
//
// This test kills connections, so we don't want warnings.