This package contains reliability and stability tests for the js-waku project.
These tests are designed to run realistic message scenarios in loops over extended periods, helping identify edge cases, memory leaks, network inconsistencies, or message delivery issues that may appear over time.
longevity.spec.ts
This is the first test in the suite. It runs a js-waku<->nwaku filter scenario in a loop for 2 hours, sending and receiving messages continuously.
The test records:
At the end, a summary report is printed and any failures cause the test to fail.
From the project root:
npm run test:longevity