From 31dac03929e729008390e6d800a5a71fd94bfe77 Mon Sep 17 00:00:00 2001 From: Daniel Abramov Date: Mon, 30 May 2022 19:18:51 +0200 Subject: [PATCH] autobahn: make timeout higher It seems like GitHub Actions went slower in the last months since we sometimes observe a problem when our `autobahn-server` is not started quickly enough which leads to the autobahn suite trying to connect to the server that is not yet running resulting into failed pipeline. See https://github.com/snapview/tokio-tungstenite/runs/6658266507?check_suite_focus=true --- scripts/autobahn-client.sh | 2 +- scripts/autobahn-server.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/autobahn-client.sh b/scripts/autobahn-client.sh index 1cd13cf..85b7c6f 100755 --- a/scripts/autobahn-client.sh +++ b/scripts/autobahn-client.sh @@ -31,6 +31,6 @@ docker run -d --rm \ crossbario/autobahn-testsuite \ wstest -m fuzzingserver -s 'autobahn/fuzzingserver.json' -sleep 3 +sleep 5 cargo run --release --features async-std-runtime --example autobahn-client test_diff diff --git a/scripts/autobahn-server.sh b/scripts/autobahn-server.sh index e7e6b28..574d3f9 100755 --- a/scripts/autobahn-server.sh +++ b/scripts/autobahn-server.sh @@ -23,7 +23,7 @@ function test_diff() { } cargo run --release --features async-std-runtime --example autobahn-server & WSSERVER_PID=$! -sleep 3 +sleep 5 docker run --rm \ -v "${PWD}/autobahn:/autobahn" \