summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/operations/Client.cpp
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2012-12-06 00:11:06 +0100
committerJose <jose@zeroc.com>2012-12-06 00:11:06 +0100
commit166c46d7905e14737db93f86ac804798e4b6d79c (patch)
tree7415e186c1b866a49f0d044955bba29ded3af205 /cpp/test/Ice/operations/Client.cpp
parentFixed ICE-5093 - IceGrid/replicaGroup test failure (diff)
downloadice-166c46d7905e14737db93f86ac804798e4b6d79c.tar.bz2
ice-166c46d7905e14737db93f86ac804798e4b6d79c.tar.xz
ice-166c46d7905e14737db93f86ac804798e4b6d79c.zip
WinRT TestSuite minor fixes
Diffstat (limited to 'cpp/test/Ice/operations/Client.cpp')
-rw-r--r--cpp/test/Ice/operations/Client.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/cpp/test/Ice/operations/Client.cpp b/cpp/test/Ice/operations/Client.cpp
index b8f7ebeb440..d351b19b76a 100644
--- a/cpp/test/Ice/operations/Client.cpp
+++ b/cpp/test/Ice/operations/Client.cpp
@@ -21,6 +21,7 @@ run(int argc, char* argv[], const Ice::CommunicatorPtr& communicator, const Ice:
Test::MyClassPrx allTests(const Ice::CommunicatorPtr&, bool);
Test::MyClassPrx myClass = allTests(communicator, false);
+#ifndef ICE_OS_WINRT
cout << "testing server shutdown... " << flush;
myClass->shutdown();
try
@@ -32,7 +33,13 @@ run(int argc, char* argv[], const Ice::CommunicatorPtr& communicator, const Ice:
{
cout << "ok" << endl;
}
-
+#else
+ //
+ // When using SSL the run.py script starts a new server after shutdown
+ // and the call to opVoid will success.
+ //
+ myClass->shutdown();
+#endif
return EXIT_SUCCESS;
}