mirror of
https://github.com/logos-messaging/logos-messaging-interop-tests.git
synced 2026-01-03 14:33:07 +00:00
chore: fix rln tests
This commit is contained in:
parent
c95fff8ac3
commit
ff4567659e
@ -218,6 +218,8 @@ METRICS_WITH_INITIAL_VALUE_ZERO = [
|
||||
"waku_rln_instance_creation_duration_seconds",
|
||||
"waku_rln_membership_insertion_duration_seconds",
|
||||
"waku_rln_membership_credentials_import_duration_seconds",
|
||||
"waku_rln_proof_remining",
|
||||
"waku_rln_proofs_generated_total",
|
||||
"libp2p_pubsub_sig_verify_success_total",
|
||||
"libp2p_pubsub_sig_verify_failure_total",
|
||||
"libp2p_pubsub_disconnects_over_non_priority_queue_limit_total",
|
||||
|
||||
@ -139,12 +139,7 @@ class TestRelayRLN(StepsRLN, StepsRelay):
|
||||
message_limit = 100
|
||||
epoch_sec = 600
|
||||
pytestconfig.cache.set("keystore-prefixes", self.register_rln_relay_nodes(2, []))
|
||||
self.setup_main_rln_relay_nodes(
|
||||
rln_relay_user_message_limit=message_limit,
|
||||
rln_relay_epoch_sec=epoch_sec,
|
||||
rln_relay_dynamic="true",
|
||||
wait_for_node_sec=600,
|
||||
)
|
||||
self.setup_main_rln_relay_nodes(rln_relay_user_message_limit=message_limit, rln_relay_epoch_sec=epoch_sec, rln_relay_dynamic="true")
|
||||
self.subscribe_main_relay_nodes()
|
||||
start = math.trunc(time())
|
||||
for i, payload in enumerate(self.SAMPLE_INPUTS_RLN):
|
||||
@ -163,12 +158,7 @@ class TestRelayRLN(StepsRLN, StepsRelay):
|
||||
def test_valid_payloads_dynamic_at_slow_rate(self, pytestconfig):
|
||||
message_limit = 100
|
||||
pytestconfig.cache.set("keystore-prefixes", self.register_rln_relay_nodes(2, []))
|
||||
self.setup_main_rln_relay_nodes(
|
||||
rln_relay_user_message_limit=message_limit,
|
||||
rln_relay_epoch_sec=600,
|
||||
rln_relay_dynamic="true",
|
||||
wait_for_node_sec=600,
|
||||
)
|
||||
self.setup_main_rln_relay_nodes(rln_relay_user_message_limit=message_limit, rln_relay_epoch_sec=600, rln_relay_dynamic="true")
|
||||
self.subscribe_main_relay_nodes()
|
||||
failed_payloads = []
|
||||
for i, payload in enumerate(self.SAMPLE_INPUTS_RLN):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user