mirror of
https://github.com/logos-messaging/logos-messaging-interop-tests.git
synced 2026-01-04 06:53:07 +00:00
Not found response is expected when node is not subscribed (#120)
This commit is contained in:
parent
5bdbd7dae0
commit
6db8492443
@ -204,4 +204,4 @@ class StepsSharding(StepsRelay):
|
|||||||
self.check_published_message_reaches_relay_peer(pubsub_topic=pubsub_topic)
|
self.check_published_message_reaches_relay_peer(pubsub_topic=pubsub_topic)
|
||||||
raise AssertionError("Publishing messages on unsubscribed shard worked!!!")
|
raise AssertionError("Publishing messages on unsubscribed shard worked!!!")
|
||||||
except Exception as ex:
|
except Exception as ex:
|
||||||
assert f"Failed to publish: Node not subscribed to topic: {pubsub_topic}" in str(ex)
|
assert "Not Found" in str(ex), "Expected 404 Not Found because the node is not subscribed"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user