fix: occasional failure to check published message for RLN tests (#44)
* test: increased message propagation delay * test: increased message propagation delay in all instances * fix: delete test workflow
This commit is contained in:
parent
84636b7a57
commit
39a6d13276
|
@ -25,7 +25,7 @@ class TestRelayRLN(StepsRLN, StepsRelay):
|
|||
logger.debug(f'Running test with payload {payload["description"]}')
|
||||
message = self.create_message(payload=to_base64(payload["value"]))
|
||||
try:
|
||||
self.check_published_message_reaches_relay_peer(message)
|
||||
self.check_published_message_reaches_relay_peer(message, message_propagation_delay=0.2)
|
||||
except Exception as e:
|
||||
logger.error(f'Payload {payload["description"]} failed: {str(e)}')
|
||||
failed_payloads.append(payload["description"])
|
||||
|
@ -81,7 +81,7 @@ class TestRelayRLN(StepsRLN, StepsRelay):
|
|||
logger.debug(f'Running test with payload {payload["description"]}')
|
||||
message = self.create_message(payload=to_base64(payload["value"]))
|
||||
try:
|
||||
self.check_published_message_reaches_relay_peer(message)
|
||||
self.check_published_message_reaches_relay_peer(message, message_propagation_delay=0.2)
|
||||
except Exception as e:
|
||||
logger.error(f'Payload {payload["description"]} failed: {str(e)}')
|
||||
failed_payloads.append(payload["description"])
|
||||
|
@ -114,7 +114,7 @@ class TestRelayRLN(StepsRLN, StepsRelay):
|
|||
logger.debug(f'Running test with payload {payload["description"]}')
|
||||
message = self.create_message(payload=to_base64(payload["value"]))
|
||||
try:
|
||||
self.check_published_message_reaches_relay_peer(message)
|
||||
self.check_published_message_reaches_relay_peer(message, message_propagation_delay=0.2)
|
||||
except Exception as e:
|
||||
logger.error(f'Payload {payload["description"]} failed: {str(e)}')
|
||||
failed_payloads.append(payload["description"])
|
||||
|
@ -170,7 +170,7 @@ class TestRelayRLN(StepsRLN, StepsRelay):
|
|||
logger.debug(f'Running test with payload {payload["description"]}')
|
||||
message = self.create_message(payload=to_base64(payload["value"]))
|
||||
try:
|
||||
self.check_published_message_reaches_relay_peer(message)
|
||||
self.check_published_message_reaches_relay_peer(message, message_propagation_delay=0.2)
|
||||
except Exception as e:
|
||||
logger.error(f'Payload {payload["description"]} failed: {str(e)}')
|
||||
failed_payloads.append(payload["description"])
|
||||
|
@ -208,7 +208,7 @@ class TestRelayRLN(StepsRLN, StepsRelay):
|
|||
logger.debug(f'Running test with payload {payload["description"]}')
|
||||
message = self.create_message(payload=to_base64(payload["value"]))
|
||||
try:
|
||||
self.check_published_message_reaches_relay_peer(message)
|
||||
self.check_published_message_reaches_relay_peer(message, message_propagation_delay=0.2)
|
||||
except Exception as e:
|
||||
logger.error(f'Payload {payload["description"]} failed: {str(e)}')
|
||||
failed_payloads.append(payload["description"])
|
||||
|
|
Loading…
Reference in New Issue