-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: RLN relay tests #30
Conversation
- temporarily use local docker images
- add spam and alternate rate tests
- prepare for non default settings for RLN
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Added few comments
Also I would think of some additional e2e tests/checks like:
- check that peer actually receives the messages, not only that publish works
- node1 is RLN enabled, node2 is RLN disabled, what happens?
- node1 is has some flags values(like rln_relay_epoch_sec), node2 has other values, what happens?
- message is send via lightpush while RLN is enabled, does it work to bypass rln?
- extend timeout for ensure_ready() to 600s - add ensure_healthy() for future use - add text content based rest call - remove NODE1, NODE2 imports
- removed RLN test class inheritance from StepsRelay
- add grouping of tests to runner - use smaller dataset for spam rate tests
- remove current dir debug
- delete test workflow
…e-rln-relay-tests
I had problems to run tests in parallel, due to the same file path for the keystore, which might be possible to solve. In the time being however, I think there are other issues and number of tests isn't high, so I would keep them serialized. RLN tests were grouped @pytest.mark.xdist_group(name="RLN serial tests") and Pytest worker mode changed to --dist loadgroup |
"additional_nodes" variable override with nwaku nodes only was added to "Nim -> Nim Waku Interop Tests" workflow to accommodate multi node RLN tests. |
PR Details
Batch of tests for Waku Relay with RLN enabled.
Changes
Tests available to run:
cd waku-interop-tests
pytest tests/relay/test_rln.py
Issues reported: