chore: fix wrong store node type (#94)
* chore: fix wrong store node type * chore: adjust flaky LP test
This commit is contained in:
parent
5caedf13c4
commit
8425c0fed7
|
@ -143,4 +143,6 @@ class StepsLightPush(StepsCommon):
|
|||
@retry(stop=stop_after_delay(120), wait=wait_fixed(1), reraise=True)
|
||||
def subscribe_and_light_push_with_retry(self):
|
||||
self.subscribe_to_pubsub_topics_via_relay()
|
||||
self.check_light_pushed_message_reaches_receiving_peer()
|
||||
self.light_push_node1.send_light_push_message(self.create_payload())
|
||||
get_messages_response = self.main_receiving_nodes[0].get_relay_messages(self.test_pubsub_topic)
|
||||
assert len(get_messages_response) >= 1, f"Expected al least 1 message but got {len(get_messages_response)}"
|
||||
|
|
|
@ -85,7 +85,7 @@ class TestReliability(StepsStore):
|
|||
|
||||
def test_message_relayed_while_store_node_is_stopped_without_removing(self):
|
||||
self.setup_first_publishing_node(store="true", relay="true")
|
||||
self.setup_first_store_node(store="false", relay="true", remove_container=False)
|
||||
self.setup_first_store_node(store="false", relay="false", remove_container=False)
|
||||
self.subscribe_to_pubsub_topics_via_relay()
|
||||
self.publish_message()
|
||||
self.check_published_message_is_stored(page_size=5)
|
||||
|
|
Loading…
Reference in New Issue