summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/faultTolerance/Server.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/test/Ice/faultTolerance/Server.cpp')
-rw-r--r--cpp/test/Ice/faultTolerance/Server.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/cpp/test/Ice/faultTolerance/Server.cpp b/cpp/test/Ice/faultTolerance/Server.cpp
index c2fc89ef537..2e9ed221516 100644
--- a/cpp/test/Ice/faultTolerance/Server.cpp
+++ b/cpp/test/Ice/faultTolerance/Server.cpp
@@ -72,9 +72,16 @@ main(int argc, char* argv[])
try
{
+ //
+ // In this test, we need a longer server idle time, otherwise
+ // our test servers may time out before they are used in the
+ // test.
+ //
+ Ice::PropertiesPtr properties = Ice::getDefaultProperties(argc, argv);
+ properties->setProperty("Ice.ServerIdleTime", "120"); // Two minutes.
+
communicator = Ice::initialize(argc, argv);
status = run(argc, argv, communicator);
-
}
catch(const Ice::Exception& ex)
{