diff options
Diffstat (limited to 'cpp/test/IceGrid/activation/Server.cpp')
-rw-r--r-- | cpp/test/IceGrid/activation/Server.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cpp/test/IceGrid/activation/Server.cpp b/cpp/test/IceGrid/activation/Server.cpp index d9e5e6e0e4c..721c2132427 100644 --- a/cpp/test/IceGrid/activation/Server.cpp +++ b/cpp/test/IceGrid/activation/Server.cpp @@ -30,7 +30,7 @@ Server::run(int argc, char* argv[]) Ice::stringSeqToArgs(args, argc, argv); if(properties->getPropertyAsInt("FailOnStartup") > 0) { - return EXIT_FAILURE; + return EXIT_FAILURE; } Ice::ObjectAdapterPtr adapter = communicator()->createObjectAdapter("TestAdapter"); @@ -41,13 +41,13 @@ Server::run(int argc, char* argv[]) int delay = properties->getPropertyAsInt("ActivationDelay"); if(delay > 0) { - IceUtil::ThreadControl::sleep(IceUtil::Time::seconds(delay)); + IceUtil::ThreadControl::sleep(IceUtil::Time::seconds(delay)); } shutdownOnInterrupt(); try { - adapter->activate(); + adapter->activate(); } catch(const Ice::ObjectAdapterDeactivatedException&) { @@ -58,7 +58,7 @@ Server::run(int argc, char* argv[]) delay = properties->getPropertyAsInt("DeactivationDelay"); if(delay > 0) { - IceUtil::ThreadControl::sleep(IceUtil::Time::seconds(delay)); + IceUtil::ThreadControl::sleep(IceUtil::Time::seconds(delay)); } return test->isFailed() ? EXIT_FAILURE : EXIT_SUCCESS; |