From daa3af826f2cf5368793944df5d335dc719f628c Mon Sep 17 00:00:00 2001 From: chrislu Date: Tue, 16 Dec 2025 00:02:00 -0800 Subject: [PATCH] ci: fix stress tests by adding server start/stop --- .github/workflows/s3-go-tests.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/s3-go-tests.yml b/.github/workflows/s3-go-tests.yml index 13c733773..373be6df7 100644 --- a/.github/workflows/s3-go-tests.yml +++ b/.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