From 339327bdd40c36b5b4dd77f87a7f574d2be75bad Mon Sep 17 00:00:00 2001 From: tpylak <tpylak> Date: Tue, 29 Sep 2009 13:39:56 +0000 Subject: [PATCH] SE-133 integration tests - shutdown openbis server only if it is still running SVN: 12768 --- integration-tests/common.bash | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/integration-tests/common.bash b/integration-tests/common.bash index 8852c0ec2fa..8e9a50d0981 100755 --- a/integration-tests/common.bash +++ b/integration-tests/common.bash @@ -436,6 +436,10 @@ function install_datamovers { function restart_openbis { assert_dir_exists_or_die $OPENBIS_SERVER + if [ "`check_server_port`" != "" ]; then + # maybe server is just closing, wait a moment + sleep 5 + fi if [ "`check_server_port`" != "" ]; then echo Shutting down openbis server. shutdown_openbis_server -- GitLab