diff options
Diffstat (limited to 'cpp/test')
-rw-r--r-- | cpp/test/Ice/operations/Client.cpp | 9 | ||||
-rw-r--r-- | cpp/test/WinRT/TestSuite/MainPage.xaml.cpp | 7 |
2 files changed, 13 insertions, 3 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; } diff --git a/cpp/test/WinRT/TestSuite/MainPage.xaml.cpp b/cpp/test/WinRT/TestSuite/MainPage.xaml.cpp index 747055be0d2..412340124c7 100644 --- a/cpp/test/WinRT/TestSuite/MainPage.xaml.cpp +++ b/cpp/test/WinRT/TestSuite/MainPage.xaml.cpp @@ -302,7 +302,7 @@ static const TestCase allTest[] = {"Ice\\timeout", "Ice_timeout_", "client.dll", "server.dll", 0, 0, true}, {"Ice\\udp", "Ice_udp_", "client.dll", "server.dll", 0, 0, false}, {"Ice\\hash", "Ice_hash_", "client.dll", 0, 0, 0, true}, - {"Ice\\metrics", "Ice_metrics_", "client.dll", "server.dll", "serveramd.dll", 0, true}, + {"Ice\\metrics", "Ice_metrics_", "client.dll", "server.dll", "serveramd.dll", 0, false}, {"Ice\\optional", "Ice_optional_", "client.dll", "server.dll", 0, 0, true}, {"Ice\\admin", "Ice_admin_", "client.dll", "server.dll", 0, 0, true}, {"Ice\\enums", "Ice_enums_", "client.dll", "server.dll", 0, 0, true} @@ -352,7 +352,10 @@ public: printLineToConsoleOutput(""); } - if(_test.collocated) + // + // Don't run collocated tests with SSL as there isn't SSL server side. + // + if(_test.collocated && !_config.ssl) { printLineToConsoleOutput("*** running collocated test " + _test.name); runClientTest(_test.collocated, true); |