Browse Source

ci: fix stress tests by adding server start/stop

pull/7786/head
chrislu 4 days ago
parent
commit
daa3af826f
  1. 7
      .github/workflows/s3-go-tests.yml

7
.github/workflows/s3-go-tests.yml

@ -389,6 +389,9 @@ jobs:
uname -a
free -h
# Start server for stress tests
make start-server
# Run stress tests (concurrent operations)
make test-versioning-stress || {
echo "❌ Stress test failed, checking logs..."
@ -396,6 +399,7 @@ jobs:
echo "=== Server logs ==="
tail -200 weed-test.log
fi
make stop-server
make clean
exit 1
}
@ -408,9 +412,12 @@ jobs:
echo "=== Server logs ==="
tail -200 weed-test.log
fi
make stop-server
make clean
exit 1
}
make stop-server
make clean
- name: Upload stress test logs

Loading…
Cancel
Save