From fd77d1d1bd10fcc0f9d63947465034479038a5bb Mon Sep 17 00:00:00 2001 From: Roman Date: Wed, 7 Aug 2024 20:05:48 +0800 Subject: [PATCH] fix: further optimize number or registrations --- tests/relay/test_rln.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/relay/test_rln.py b/tests/relay/test_rln.py index b55895bec7..1f12d04395 100644 --- a/tests/relay/test_rln.py +++ b/tests/relay/test_rln.py @@ -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) @@ -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)