summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2018-04-23 08:50:37 +0200
committerBenoit Foucher <benoit@zeroc.com>2018-04-23 08:50:37 +0200
commit3cc878b764dd464a3199f49bd40c454107ef6ebf (patch)
tree9c9d71dbf5a3f4ace523efca91a41ed1c2de4107 /cpp
parentAvoid concurrent initialization of nugetPackageCache (diff)
downloadice-3cc878b764dd464a3199f49bd40c454107ef6ebf.tar.bz2
ice-3cc878b764dd464a3199f49bd40c454107ef6ebf.tar.xz
ice-3cc878b764dd464a3199f49bd40c454107ef6ebf.zip
Fixed IceGrid/update test to print the reason of server start failure (ICE-8849)
Diffstat (limited to 'cpp')
-rw-r--r--cpp/test/IceGrid/update/AllTests.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/cpp/test/IceGrid/update/AllTests.cpp b/cpp/test/IceGrid/update/AllTests.cpp
index b9942e227ca..301d7ad036b 100644
--- a/cpp/test/IceGrid/update/AllTests.cpp
+++ b/cpp/test/IceGrid/update/AllTests.cpp
@@ -1193,6 +1193,11 @@ allTests(const Ice::CommunicatorPtr& communicator)
admin->startServer("Server");
test(admin->getServerState("Server") == Active);
}
+ catch(const ServerStartException& ex)
+ {
+ cerr << ex << "\nreason = " << ex.reason << endl;
+ test(false);
+ }
catch(const Ice::Exception& ex)
{
cerr << ex << endl;