Skip to content

Commit 4c39080

Browse files
GarvinGarvin
authored andcommitted
Fixing timeout in test runner script
1 parent 100fb84 commit 4c39080

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/DatatablesParser.Tests/test-runner.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
echo "Restore and build while db servers are starting"
44
dotnet restore
55
dotnet build
6-
echo "Waiting for test db servers"
7-
while ! nc mssql 1433 && nc mysql 3306 ; do
6+
echo "Testing connections to test db servers"
7+
while ! nc -w 1 mssql 1433 && nc -w 1 mysql 3306 ; do
88
sleep 1;
9-
echo "noop"
9+
echo "Test db serers not ready. Trying again"
1010
done
1111
echo "Test DB Servers started"
1212
dotnet test

0 commit comments

Comments
 (0)