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

This commit is contained in:
AI Agent
2026-03-19 15:47:21 -06:00
parent 1a545bbae7
commit 0914b5a32b
4 changed files with 29 additions and 11 deletions

View File

@@ -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