diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2005-07-07 15:15:47 +0000 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2005-07-07 15:15:47 +0000 |
commit | 1338f568647298577d8a438d34c57e6767aedf4c (patch) | |
tree | 44d81436fffd7efa579ebc9b08d7a9abf8dd11cd /cppe/test/IceE/faultTolerance/Server.cpp | |
parent | Fixed (diff) | |
download | ice-1338f568647298577d8a438d34c57e6767aedf4c.tar.bz2 ice-1338f568647298577d8a438d34c57e6767aedf4c.tar.xz ice-1338f568647298577d8a438d34c57e6767aedf4c.zip |
Fixed tests on linux
Diffstat (limited to 'cppe/test/IceE/faultTolerance/Server.cpp')
-rw-r--r-- | cppe/test/IceE/faultTolerance/Server.cpp | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/cppe/test/IceE/faultTolerance/Server.cpp b/cppe/test/IceE/faultTolerance/Server.cpp index 31ba0dbfb40..0fc7f5472d4 100644 --- a/cppe/test/IceE/faultTolerance/Server.cpp +++ b/cppe/test/IceE/faultTolerance/Server.cpp @@ -31,14 +31,6 @@ public: virtual int run(int argc, char* argv[]) { - // - // 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("IceE.ServerIdleTime", "120"); // Two minutes. - setCommunicator(Ice::initialize(argc, argv)); int port = 0; @@ -70,7 +62,7 @@ public: char buf[32]; sprintf(buf, "default -p %d", port); - properties->setProperty("TestAdapter.Endpoints", buf); + communicator()->getProperties()->setProperty("TestAdapter.Endpoints", buf); Ice::ObjectAdapterPtr adapter = communicator()->createObjectAdapter("TestAdapter"); Ice::ObjectPtr object = new TestI(adapter); adapter->add(object, Ice::stringToIdentity("test")); |