mirror of
https://github.com/logos-messaging/logos-messaging-go-bindings.git
synced 2026-01-07 00:13:12 +00:00
Merge 3e2fb428200eb2ad51d789806ffc46ddb938cfd3 into 31fb88251175a9e8c498a1bb09388b43e76eda0d
This commit is contained in:
commit
aadb48f7eb
2
.github/workflows/CI.yml
vendored
2
.github/workflows/CI.yml
vendored
@ -40,7 +40,7 @@ jobs:
|
|||||||
- name: Run Daily Test
|
- name: Run Daily Test
|
||||||
run: |
|
run: |
|
||||||
set -euo pipefail
|
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
|
| tee testlogs.log
|
||||||
|
|
||||||
- name: Upload Test Logs
|
- name: Upload Test Logs
|
||||||
|
|||||||
@ -42,11 +42,11 @@ jobs:
|
|||||||
- name: Repeated test runs
|
- name: Repeated test runs
|
||||||
run: |
|
run: |
|
||||||
set +e
|
set +e
|
||||||
for i in {1..80}; do
|
for i in {1..3}; do
|
||||||
echo "Iteration $i: measuring memory BEFORE the tests..."
|
echo "Iteration $i: measuring memory BEFORE the tests..."
|
||||||
go run tools/memory_record.go --iteration $i --phase start
|
go run tools/memory_record.go --iteration $i --phase start
|
||||||
echo "Running tests (iteration $i)..."
|
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..."
|
echo "Iteration $i: measuring memory AFTER the tests..."
|
||||||
go run tools/memory_record.go --iteration $i --phase end
|
go run tools/memory_record.go --iteration $i --phase end
|
||||||
done
|
done
|
||||||
|
|||||||
@ -65,6 +65,7 @@ func TestStressMemoryUsageForThreeNodes(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func TestStressStoreQuery5kMessagesWithPagination(t *testing.T) {
|
func TestStressStoreQuery5kMessagesWithPagination(t *testing.T) {
|
||||||
|
t.Skip("Skipping temporarily for CI performance or debug reasons")
|
||||||
Debug("Starting test")
|
Debug("Starting test")
|
||||||
runtime.GC()
|
runtime.GC()
|
||||||
nodeConfig := DefaultWakuConfig
|
nodeConfig := DefaultWakuConfig
|
||||||
@ -165,6 +166,7 @@ func TestStressHighThroughput10kPublish(t *testing.T) {
|
|||||||
|
|
||||||
|
|
||||||
func TestStressConnectDisconnect1kIteration(t *testing.T) {
|
func TestStressConnectDisconnect1kIteration(t *testing.T) {
|
||||||
|
t.Skip("Skipping temporarily for CI performance")
|
||||||
captureMemory(t.Name(), "at start")
|
captureMemory(t.Name(), "at start")
|
||||||
|
|
||||||
node0Cfg := DefaultWakuConfig
|
node0Cfg := DefaultWakuConfig
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user