Make the test_runner more stable on the Project Tester
This commit is contained in:
parent
c90afe1ece
commit
773930e475
|
@ -26,7 +26,7 @@ echo "Shutting down currently-running server..."
|
||||||
|
|
||||||
for socket in unix tcp; do
|
for socket in unix tcp; do
|
||||||
# allow some time for server to shutdown
|
# allow some time for server to shutdown
|
||||||
sleep 1s;
|
sleep 0.5s;
|
||||||
|
|
||||||
echo "Running tests for $socket sockets"
|
echo "Running tests for $socket sockets"
|
||||||
|
|
||||||
|
@ -34,6 +34,9 @@ for socket in unix tcp; do
|
||||||
echo "Starting server..."
|
echo "Starting server..."
|
||||||
startServer
|
startServer
|
||||||
|
|
||||||
|
# make sure the server is up and running
|
||||||
|
sleep 0.5s
|
||||||
|
|
||||||
# Run tests
|
# Run tests
|
||||||
for testCase in tc*; do
|
for testCase in tc*; do
|
||||||
cd $testCase
|
cd $testCase
|
||||||
|
|
Loading…
Reference in New Issue