mirror of
https://github.com/logos-messaging/logos-messaging-interop-tests.git
synced 2026-01-08 00:43:07 +00:00
try restore message with wrong peer id
This commit is contained in:
parent
81b0f20d45
commit
edf12b90cd
@ -24,6 +24,15 @@ class TestApiFlags(StepsStore):
|
||||
except Exception as ex:
|
||||
logger.debug(f" response with wrong peer address is { ex.args[0]}")
|
||||
assert ex.args[0].find("Invalid MultiAddress") != -1
|
||||
# try to send wrong peer id
|
||||
wrong_peer_id = self.multiaddr_list[0][:-1]
|
||||
logger.debug(f"logger is {wrong_peer_id}")
|
||||
try:
|
||||
self.check_published_message_is_stored(store_node=self.store_node1, peer_addr=wrong_peer_id)
|
||||
raise Exception("message restored with wrong peer id")
|
||||
except Exception as ex:
|
||||
logger.debug(f" response with wrong peer id is { ex.args[0]}")
|
||||
assert ex.args[0].find("Failed parsing remote peer info") != -1
|
||||
|
||||
def test_store_include_data(self):
|
||||
message_list = []
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user