From 2e1f237ebca10f55f950948049ea205556f6f833 Mon Sep 17 00:00:00 2001 From: tpylak <tpylak> Date: Tue, 29 Sep 2009 12:37:08 +0000 Subject: [PATCH] SE-133 integration tests - shutdown openbis server only if it is still running SVN: 12763 --- integration-tests/common.bash | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/integration-tests/common.bash b/integration-tests/common.bash index 408c6c29808..8852c0ec2fa 100755 --- a/integration-tests/common.bash +++ b/integration-tests/common.bash @@ -436,8 +436,11 @@ function install_datamovers { function restart_openbis { assert_dir_exists_or_die $OPENBIS_SERVER - shutdown_openbis_server - sleep 1 + if [ "`check_server_port`" != "" ]; then + echo Shutting down openbis server. + shutdown_openbis_server + sleep 1 + fi startup_openbis_server sleep 4 } -- GitLab