Fix smoke tests and resolve CI timeouts #1

Merged
lily merged 2 commits from mcp-integration into main 2026-03-17 10:00:20 -06:00
Showing only changes of commit ebdfa16aa5 - Show all commits

View File

@@ -31,6 +31,8 @@ ssh_mud smoketest@localhost <<'EOF'
1 1
look look
stats stats
go south
go down
go north go north
talk barkeep talk barkeep
go south go south
@@ -73,17 +75,18 @@ EOF
# Test 6: Tick-based combat (connect and wait for ticks) # Test 6: Tick-based combat (connect and wait for ticks)
./target/debug/mudtool -d "$TEST_DB" settings set registration_open true ./target/debug/mudtool -d "$TEST_DB" settings set registration_open true
./target/debug/mudtool -d "$TEST_DB" players delete smoketest ./target/debug/mudtool -d "$TEST_DB" players delete smoketest
ssh_mud smoketest@localhost <<'EOF' # Use subshell to pipe commands with a delay between them while staying connected
1 (
1 echo "1"
go south echo "1"
attack thief echo "go south"
EOF echo "go down"
echo "go south"
echo "attack thief"
sleep 8 sleep 8
ssh_mud smoketest@localhost <<'EOF' echo "stats"
stats echo "quit"
quit ) | ssh_mud smoketest@localhost
EOF
# Cleanup (trap handles server kill) # Cleanup (trap handles server kill)
./target/debug/mudtool -d "$TEST_DB" settings set registration_open true ./target/debug/mudtool -d "$TEST_DB" settings set registration_open true