Skip to content

Commit

Permalink
fix: further optimize number or registrations
Browse files Browse the repository at this point in the history
  • Loading branch information
romanzac committed Aug 7, 2024
1 parent ba8eca1 commit fd77d1d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/relay/test_rln.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ def test_valid_payloads_n1_with_rln_n2_without_rln_at_spam_rate(self):
assert "RLN validation failed" or "NonceLimitReached" in str(e)

@pytest.mark.skipif("go-waku" in ADDITIONAL_NODES, reason="Test works only with nwaku")
@pytest.mark.usefixtures("register_main_rln_relay_nodes", "register_optional_rln_relay_nodes")
@pytest.mark.usefixtures("register_optional_rln_relay_nodes")
def test_valid_payloads_with_optional_nodes_at_slow_rate(self):
self.setup_main_rln_relay_nodes(rln_relay_user_message_limit=1, rln_relay_epoch_sec=1)
self.setup_optional_rln_relay_nodes(rln_relay_user_message_limit=1, rln_relay_epoch_sec=1)
Expand All @@ -212,7 +212,6 @@ def test_valid_payloads_with_optional_nodes_at_slow_rate(self):
assert not failed_payloads, f"Payloads failed: {failed_payloads}"

@pytest.mark.skipif("go-waku" in ADDITIONAL_NODES, reason="Test works only with nwaku")
@pytest.mark.usefixtures("register_main_rln_relay_nodes", "register_optional_rln_relay_nodes")
def test_valid_payloads_with_optional_nodes_at_spam_rate(self):
self.setup_main_rln_relay_nodes(rln_relay_user_message_limit=1, rln_relay_epoch_sec=1)
self.setup_optional_rln_relay_nodes(rln_relay_user_message_limit=1, rln_relay_epoch_sec=1)
Expand Down

0 comments on commit fd77d1d

Please sign in to comment.