Replace sleep with wait-for-tcp script in run-tests.sh and CI workflow to improve reliability of smoke tests. Update TESTING.md to include prerequisites for the new script.
All checks were successful
Smoke tests / Build and smoke test (push) Successful in 1m17s
All checks were successful
Smoke tests / Build and smoke test (push) Successful in 1m17s
This commit is contained in:
@@ -25,7 +25,7 @@ trap cleanup EXIT
|
||||
cargo build
|
||||
RUST_LOG=info ./target/debug/mudserver -d "$TEST_DB" &
|
||||
SERVER_PID=$!
|
||||
sleep 2
|
||||
bash "$ROOT/scripts/ci/wait-for-tcp.sh" 127.0.0.1 2222
|
||||
|
||||
ssh_mud smoketest@localhost <<'EOF'
|
||||
1
|
||||
|
||||
Reference in New Issue
Block a user