js-waku/packages/reliability-tests
Sasha fcc6496fef
chore!: upgrade libp2p, nodejs and typescript (#2401)
* remove react native package

* upgrade nodejs

* upgrade libp2p

* upgrade typescript, use 22 node

* up lock

* fix node compatibility

* upgrade playwright

* upgrade proto

* update tests
2025-06-22 17:41:23 +02:00
..

Reliability Tests

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.

📄 Current Tests

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:

  • Message ID
  • Timestamp
  • Send/receive status
  • Any errors during transmission

At the end, a summary report is printed and any failures cause the test to fail.

🚀 How to Run

From the project root:

npm run test:longevity