Skip to content

Commit

Permalink
Remove multiple skips
Browse files Browse the repository at this point in the history
  • Loading branch information
AYAHASSAN287 committed Jan 5, 2025
1 parent 31b1ef1 commit 89b39ed
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion tests/metrics/test_metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@


class TestMetrics(StepsRelay, StepsMetrics, StepsFilter, StepsLightPush, StepsStore):
@pytest.mark.skip
def test_metrics_initial_value(self):
node = WakuNode(DEFAULT_NWAKU, f"node1_{self.test_id}")
node.start(relay="true", filter="true", store="true", lightpush="true")
Expand Down
4 changes: 0 additions & 4 deletions tests/relay/test_rln.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@


@pytest.mark.xdist_group(name="RLN serial tests")
@pytest.mark.rln
@pytest.mark.skipif("go-waku" in (NODE_1 + NODE_2), reason="Test works only with nwaku")
class TestRelayRLN(StepsRLN, StepsRelay):
SAMPLE_INPUTS_RLN = SAMPLE_INPUTS + SAMPLE_INPUTS + SAMPLE_INPUTS
Expand All @@ -40,7 +39,6 @@ def test_valid_payloads_lightpush_at_spam_rate(self, pytestconfig):
except Exception as e:
assert "RLN validation failed" or "NonceLimitReached" in str(e)

@pytest.mark.skipif("nwaku" in (NODE_1 + NODE_2), reason="Test works only with nwaku")
def test_valid_payloads_at_slow_rate(self, pytestconfig):
message_limit = 20
self.register_rln_relay_nodes(0, pytestconfig.cache.get("keystore-prefixes", []))
Expand All @@ -61,7 +59,6 @@ def test_valid_payloads_at_slow_rate(self, pytestconfig):
if i == message_limit - 1:
break

@pytest.mark.skipif("nwaku" in (NODE_1 + NODE_2), reason="Test works only with nwaku")
def test_valid_payloads_at_spam_rate(self, pytestconfig):
message_limit = 20
epoch_sec = 600
Expand All @@ -81,7 +78,6 @@ def test_valid_payloads_at_spam_rate(self, pytestconfig):
except Exception as e:
assert "RLN validation failed" or "NonceLimitReached" in str(e)

@pytest.mark.skipif("nwaku" in (NODE_1 + NODE_2), reason="Test works only with nwaku")
def test_valid_payload_at_variable_rate(self, pytestconfig):
self.register_rln_relay_nodes(0, pytestconfig.cache.get("keystore-prefixes", []))
self.setup_main_rln_relay_nodes(rln_relay_user_message_limit=1, rln_relay_epoch_sec=1)
Expand Down

0 comments on commit 89b39ed

Please sign in to comment.