mirror of
https://github.com/logos-messaging/logos-messaging-interop-tests.git
synced 2026-01-02 14:03:08 +00:00
fix lp fails (#57)
This commit is contained in:
parent
055541ad0d
commit
b56a98d8a6
@ -244,7 +244,7 @@ class TestLightPushPublish(StepsLightPush):
|
||||
self.light_push_node1.send_light_push_message(self.create_payload(message=message))
|
||||
raise AssertionError("Push with peer stopped worked!!")
|
||||
except Exception as ex:
|
||||
assert "Failed to request a message push: dial_failure" in str(ex) or "failed to dial" in str(ex)
|
||||
assert "Failed to request a message push: dial_failure" in str(ex) or "lightpush error" in str(ex)
|
||||
|
||||
def test_light_push_after_node_pauses_and_pauses(self):
|
||||
self.check_light_pushed_message_reaches_receiving_peer()
|
||||
|
||||
@ -19,7 +19,7 @@ class TestRunningNodes(StepsLightPush):
|
||||
self.light_push_node1.send_light_push_message(self.create_payload())
|
||||
raise AssertionError("Light push with non lightpush peer worked!!!")
|
||||
except Exception as ex:
|
||||
assert "Failed to request a message push: dial_failure" in str(ex) or "failed to negotiate protocol: protocols not supported" in str(ex)
|
||||
assert "Failed to request a message push: dial_failure" in str(ex) or "lightpush error" in str(ex)
|
||||
|
||||
def test_main_node_only_lightpush__peer_only_relay(self):
|
||||
self.setup_first_receiving_node(lightpush="false", relay="true")
|
||||
@ -29,7 +29,7 @@ class TestRunningNodes(StepsLightPush):
|
||||
self.light_push_node1.send_light_push_message(self.create_payload())
|
||||
raise AssertionError("Light push with non lightpush peer worked!!!")
|
||||
except Exception as ex:
|
||||
assert "Failed to request a message push: dial_failure" in str(ex) or "failed to negotiate protocol: protocols not supported" in str(ex)
|
||||
assert "Failed to request a message push: dial_failure" in str(ex) or "lightpush error" in str(ex)
|
||||
|
||||
def test_main_node_only_lightpush__peer_full(self):
|
||||
self.setup_first_receiving_node(lightpush="true", relay="true", filter="true")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user