mirror of
https://github.com/logos-messaging/logos-messaging-interop-tests.git
synced 2026-01-04 06:53:07 +00:00
Remove multiple skips
This commit is contained in:
parent
31b1ef1ba8
commit
89b39edbf8
@ -10,7 +10,6 @@ from src.steps.store import StepsStore
|
|||||||
|
|
||||||
|
|
||||||
class TestMetrics(StepsRelay, StepsMetrics, StepsFilter, StepsLightPush, StepsStore):
|
class TestMetrics(StepsRelay, StepsMetrics, StepsFilter, StepsLightPush, StepsStore):
|
||||||
@pytest.mark.skip
|
|
||||||
def test_metrics_initial_value(self):
|
def test_metrics_initial_value(self):
|
||||||
node = WakuNode(DEFAULT_NWAKU, f"node1_{self.test_id}")
|
node = WakuNode(DEFAULT_NWAKU, f"node1_{self.test_id}")
|
||||||
node.start(relay="true", filter="true", store="true", lightpush="true")
|
node.start(relay="true", filter="true", store="true", lightpush="true")
|
||||||
|
|||||||
@ -14,7 +14,6 @@ logger = get_custom_logger(__name__)
|
|||||||
|
|
||||||
|
|
||||||
@pytest.mark.xdist_group(name="RLN serial tests")
|
@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")
|
@pytest.mark.skipif("go-waku" in (NODE_1 + NODE_2), reason="Test works only with nwaku")
|
||||||
class TestRelayRLN(StepsRLN, StepsRelay):
|
class TestRelayRLN(StepsRLN, StepsRelay):
|
||||||
SAMPLE_INPUTS_RLN = SAMPLE_INPUTS + SAMPLE_INPUTS + SAMPLE_INPUTS
|
SAMPLE_INPUTS_RLN = SAMPLE_INPUTS + SAMPLE_INPUTS + SAMPLE_INPUTS
|
||||||
@ -40,7 +39,6 @@ class TestRelayRLN(StepsRLN, StepsRelay):
|
|||||||
except Exception as e:
|
except Exception as e:
|
||||||
assert "RLN validation failed" or "NonceLimitReached" in str(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):
|
def test_valid_payloads_at_slow_rate(self, pytestconfig):
|
||||||
message_limit = 20
|
message_limit = 20
|
||||||
self.register_rln_relay_nodes(0, pytestconfig.cache.get("keystore-prefixes", []))
|
self.register_rln_relay_nodes(0, pytestconfig.cache.get("keystore-prefixes", []))
|
||||||
@ -61,7 +59,6 @@ class TestRelayRLN(StepsRLN, StepsRelay):
|
|||||||
if i == message_limit - 1:
|
if i == message_limit - 1:
|
||||||
break
|
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):
|
def test_valid_payloads_at_spam_rate(self, pytestconfig):
|
||||||
message_limit = 20
|
message_limit = 20
|
||||||
epoch_sec = 600
|
epoch_sec = 600
|
||||||
@ -81,7 +78,6 @@ class TestRelayRLN(StepsRLN, StepsRelay):
|
|||||||
except Exception as e:
|
except Exception as e:
|
||||||
assert "RLN validation failed" or "NonceLimitReached" in str(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):
|
def test_valid_payload_at_variable_rate(self, pytestconfig):
|
||||||
self.register_rln_relay_nodes(0, pytestconfig.cache.get("keystore-prefixes", []))
|
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)
|
self.setup_main_rln_relay_nodes(rln_relay_user_message_limit=1, rln_relay_epoch_sec=1)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user