Skip to content

Commit

Permalink
increase timeout of webrcp-test server to reuse existing for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
austinmilt committed Apr 22, 2024
1 parent 778fc8d commit bccb2a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/scripts/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ webrpctest="$webrpc_root/webrpc-test"

./$webrpcgen -schema="schema/custom.ridl" -target=../ -client -out=lib/custom_client.dart

./$webrpctest -server -port=$PORT -timeout=5s &
./$webrpctest -server -port=$PORT -timeout=60s &

# Wait until http://localhost:$PORT is available, up to 10s.
for (( i=0; i<100; i++ )); do nc -z localhost $PORT && break || sleep 0.1; done
Expand Down

0 comments on commit bccb2a4

Please sign in to comment.