mirror of
https://github.com/logos-messaging/logos-messaging-interop-tests.git
synced 2026-01-02 05:53:13 +00:00
chore: fix two smoke tests to mount both lightpush and relay (#146)
This commit is contained in:
parent
3bad0ad02e
commit
251772b76d
@ -66,7 +66,7 @@ class TestDiscv5(StepsRelay, StepsFilter, StepsStore, StepsLightPush):
|
|||||||
self.light_push_node1 = self.running_a_node(
|
self.light_push_node1 = self.running_a_node(
|
||||||
NODE_2,
|
NODE_2,
|
||||||
lightpush="true",
|
lightpush="true",
|
||||||
relay="false",
|
relay="true",
|
||||||
discv5_bootstrap_node=self.receiving_node1.get_enr_uri(),
|
discv5_bootstrap_node=self.receiving_node1.get_enr_uri(),
|
||||||
lightpushnode=self.receiving_node1.get_multiaddr_with_id(),
|
lightpushnode=self.receiving_node1.get_multiaddr_with_id(),
|
||||||
)
|
)
|
||||||
|
|||||||
@ -60,7 +60,7 @@ class TestRunningNodes(StepsStore):
|
|||||||
def test_store_lightpushed_message(self):
|
def test_store_lightpushed_message(self):
|
||||||
self.setup_first_publishing_node(store="true", relay="true", lightpush="true")
|
self.setup_first_publishing_node(store="true", relay="true", lightpush="true")
|
||||||
self.setup_second_publishing_node(store="false", relay="true")
|
self.setup_second_publishing_node(store="false", relay="true")
|
||||||
self.setup_first_store_node(store="false", relay="false", lightpush="true", lightpushnode=self.multiaddr_list[0])
|
self.setup_first_store_node(store="false", relay="true", lightpush="true", lightpushnode=self.multiaddr_list[0])
|
||||||
self.subscribe_to_pubsub_topics_via_relay()
|
self.subscribe_to_pubsub_topics_via_relay()
|
||||||
self.publish_message(via="lightpush", sender=self.store_node1)
|
self.publish_message(via="lightpush", sender=self.store_node1)
|
||||||
self.check_published_message_is_stored(page_size=5, ascending="true")
|
self.check_published_message_is_stored(page_size=5, ascending="true")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user