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.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/cpp/test/Ice/retry/Client.cpp b/cpp/test/Ice/retry/Client.cpp
index 84df5b77d86..0a8f97f5a82 100644
--- a/cpp/test/Ice/retry/Client.cpp
+++ b/cpp/test/Ice/retry/Client.cpp
@@ -31,19 +31,20 @@ main(int argc, char* argv[])
try
{
- Ice::PropertiesPtr properties = Ice::getDefaultProperties(argc, argv);
+ Ice::InitializationData initData;
+ initData.properties = Ice::createProperties(argc, argv);
//
// For this test, we want to disable retries.
//
- properties->setProperty("Ice.RetryIntervals", "-1");
+ initData.properties->setProperty("Ice.RetryIntervals", "-1");
//
// This test kills connections, so we don't want warnings.
//
- properties->setProperty("Ice.Warn.Connections", "0");
+ initData.properties->setProperty("Ice.Warn.Connections", "0");
- communicator = Ice::initialize(argc, argv);
+ communicator = Ice::initialize(argc, argv, initData);
status = run(argc, argv, communicator);
}
catch(const Ice::Exception&)