Skip to content
Snippets Groups Projects
Commit 339327bd authored by tpylak's avatar tpylak
Browse files

SE-133 integration tests - shutdown openbis server only if it is still running

SVN: 12768
parent 8e5b82ce
No related branches found
No related tags found
No related merge requests found
...@@ -436,6 +436,10 @@ function install_datamovers { ...@@ -436,6 +436,10 @@ function install_datamovers {
function restart_openbis { function restart_openbis {
assert_dir_exists_or_die $OPENBIS_SERVER 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 if [ "`check_server_port`" != "" ]; then
echo Shutting down openbis server. echo Shutting down openbis server.
shutdown_openbis_server shutdown_openbis_server
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment