mirror of
https://github.com/logos-messaging/logos-messaging-go-bindings.git
synced 2026-01-02 14:03:10 +00:00
increase ulimit and add sleep
This commit is contained in:
parent
6feba5b0df
commit
eb2867dfde
4
.github/workflows/CI.yml
vendored
4
.github/workflows/CI.yml
vendored
@ -3,7 +3,7 @@ name: Bindings Tests
|
||||
on:
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
- cron: '0 2 * * *'
|
||||
- cron: "0 2 * * *"
|
||||
|
||||
jobs:
|
||||
Daily:
|
||||
@ -35,7 +35,7 @@ jobs:
|
||||
run: make -C waku
|
||||
|
||||
- name: Increase ulimit
|
||||
run: sudo sh -c "ulimit -n 8192"
|
||||
run: sudo sh -c "ulimit -n 65536"
|
||||
|
||||
- name: Run Daily Test
|
||||
run: |
|
||||
|
||||
@ -137,6 +137,8 @@ func WaitForAutoConnection(nodeList []*WakuNode) error {
|
||||
return err
|
||||
}
|
||||
|
||||
// Wait for the protocol connections to settle
|
||||
time.Sleep(1 * time.Second)
|
||||
Debug("Auto-connection check completed successfully")
|
||||
return nil
|
||||
}
|
||||
@ -296,9 +298,9 @@ func captureMemory(testName, phase string) {
|
||||
runtime.ReadMemStats(&ms)
|
||||
|
||||
heapKB := ms.HeapAlloc / 1024
|
||||
rssKB, _ := utils.GetRSSKB()
|
||||
rssKB, _ := utils.GetRSSKB()
|
||||
|
||||
Debug("[%s] Memory usage (%s): %d KB (RSS %d KB)", testName, phase, heapKB, rssKB)
|
||||
|
||||
_ = recordMemoryMetricsPX(testName, phase, heapKB, rssKB)
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user