diff options
author | Marc Laukien <marc@zeroc.com> | 2004-03-02 15:05:34 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2004-03-02 15:05:34 +0000 |
commit | d7c5cbdd659ea7a86d71a75b0b0c5d488b5abc40 (patch) | |
tree | 13b2c5d18368d7d819a312db0265eff0b77be863 /cpp/test/Ice/faultTolerance/Server.cpp | |
parent | timeout fix (diff) | |
download | ice-d7c5cbdd659ea7a86d71a75b0b0c5d488b5abc40.tar.bz2 ice-d7c5cbdd659ea7a86d71a75b0b0c5d488b5abc40.tar.xz ice-d7c5cbdd659ea7a86d71a75b0b0c5d488b5abc40.zip |
fix
Diffstat (limited to 'cpp/test/Ice/faultTolerance/Server.cpp')
-rw-r--r-- | cpp/test/Ice/faultTolerance/Server.cpp | 9 |
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) { |