mirror of
https://github.com/logos-messaging/logos-messaging-interop-tests.git
synced 2026-02-18 12:53:14 +00:00
Fix error in test
This commit is contained in:
parent
fc5f882ecc
commit
bbba1bd287
@ -424,7 +424,7 @@ class TestNetworkConditions(StepsRelay):
|
|||||||
|
|
||||||
total_msgs = 5
|
total_msgs = 5
|
||||||
window_s = 30.0
|
window_s = 30.0
|
||||||
loss = 40.0
|
loss = 50.0
|
||||||
|
|
||||||
self.tc.add_packet_loss(self.node1, percent=loss)
|
self.tc.add_packet_loss(self.node1, percent=loss)
|
||||||
_ = self.node4.get_relay_messages(self.test_pubsub_topic)
|
_ = self.node4.get_relay_messages(self.test_pubsub_topic)
|
||||||
@ -525,7 +525,7 @@ class TestNetworkConditions(StepsRelay):
|
|||||||
received = len(self.node4.get_relay_messages(self.test_pubsub_topic) or [])
|
received = len(self.node4.get_relay_messages(self.test_pubsub_topic) or [])
|
||||||
self.tc.clear(self.node1)
|
self.tc.clear(self.node1)
|
||||||
|
|
||||||
assert received > 0 @ pytest.mark.timeout(60 * 4)
|
assert received > 0
|
||||||
|
|
||||||
@pytest.mark.timeout(60 * 2)
|
@pytest.mark.timeout(60 * 2)
|
||||||
def test_relay_2_nodes_low_bandwidth_reliability(self):
|
def test_relay_2_nodes_low_bandwidth_reliability(self):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user