#455 delay starting server after shutdown

This commit is contained in:
skl131313 2018-03-25 21:57:58 -04:00
parent f5180ddb9d
commit 9b1a2c2b9d
1 changed files with 3 additions and 1 deletions

View File

@ -23,9 +23,11 @@ function startServer()
echo "Shutting down currently-running server..."
../bin/dcd-client --shutdown 2>/dev/null > /dev/null
../bin/dcd-client --shutdown --tcp 2>/dev/null > /dev/null
sleep 1s;
for socket in unix tcp; do
# allow some time for server to shutdown
sleep 1s;
echo "Running tests for $socket sockets"
# Start up the server