Merge 3e2fb428200eb2ad51d789806ffc46ddb938cfd3 into 31fb88251175a9e8c498a1bb09388b43e76eda0d

This commit is contained in:
AYAHASSAN287 2025-11-28 06:34:59 +00:00 committed by GitHub
commit aadb48f7eb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 5 additions and 3 deletions

View File

@ -40,7 +40,7 @@ jobs:
- name: Run Daily Test
run: |
set -euo pipefail
go test -count=10 -p=1 -v -timeout=360m ./waku \
go test -p=1 -v -timeout=360m ./waku -count=10 \
| tee testlogs.log
- name: Upload Test Logs

View File

@ -42,11 +42,11 @@ jobs:
- name: Repeated test runs
run: |
set +e
for i in {1..80}; do
for i in {1..3}; do
echo "Iteration $i: measuring memory BEFORE the tests..."
go run tools/memory_record.go --iteration $i --phase start
echo "Running tests (iteration $i)..."
go test -v -tags '!stress' ./...
go test -tags=stress -p=1 -v -timeout=360m ./waku
echo "Iteration $i: measuring memory AFTER the tests..."
go run tools/memory_record.go --iteration $i --phase end
done

View File

@ -65,6 +65,7 @@ func TestStressMemoryUsageForThreeNodes(t *testing.T) {
}
func TestStressStoreQuery5kMessagesWithPagination(t *testing.T) {
t.Skip("Skipping temporarily for CI performance or debug reasons")
Debug("Starting test")
runtime.GC()
nodeConfig := DefaultWakuConfig
@ -165,6 +166,7 @@ func TestStressHighThroughput10kPublish(t *testing.T) {
func TestStressConnectDisconnect1kIteration(t *testing.T) {
t.Skip("Skipping temporarily for CI performance")
captureMemory(t.Name(), "at start")
node0Cfg := DefaultWakuConfig