small adjustments

This commit is contained in:
fbarbu15 2023-12-21 18:08:23 +02:00
parent 62fe136cf9
commit ffbe8d8fa1
No known key found for this signature in database
GPG Key ID: D75221C8DEA22501
2 changed files with 5 additions and 2 deletions

View File

@ -68,7 +68,10 @@ INVALID_CONTENT_TOPICS = [
VALID_PUBSUB_TOPICS = [
DEFAULT_PUBSUB_TOPIC,
"/waku/2/rs/0/1",
"/waku/2/rs/0/50",
"/waku/2/rs/0/0",
"/waku/2/rs/0/9",
"/waku/2/rs/0/25",
"/waku/2/rs/0/1000",
]
INVALID_PUBSUB_TOPICS = ["/test/2/rs/0/1", "/waku/3/rs/0/1", "/waku/2/test/0/1", "/waku/2/rs/0/b", "/waku/2/rs/0"]

View File

@ -57,7 +57,7 @@ class TestRelayPublish(StepsRelay):
self.check_published_message_reaches_relay_peer(message, message_propagation_delay=2)
raise AssertionError("Message with payload > 1MB was received")
except Exception as ex:
assert "couldn't find any messages" in str(ex)
assert "couldn't find any messages" in str(ex) or "Bad Request" in str(ex)
def test_publish_with_valid_content_topics(self):
failed_content_topics = []