mirror of
https://github.com/logos-messaging/logos-messaging-interop-tests.git
synced 2026-05-22 10:19:53 +00:00
small adjustments after CI run
This commit is contained in:
parent
d90f735b5d
commit
a44eb1520f
@ -65,14 +65,7 @@ INVALID_CONTENT_TOPICS = [
|
|||||||
{"description": "A bool", "value": True},
|
{"description": "A bool", "value": True},
|
||||||
]
|
]
|
||||||
|
|
||||||
VALID_PUBSUB_TOPICS = [
|
VALID_PUBSUB_TOPICS = ["/waku/2/rs/0/1", "/waku/2/rs/0/0", "/waku/2/rs/0/9", "/waku/2/rs/0/25", "/waku/2/rs/0/1000", DEFAULT_PUBSUB_TOPIC]
|
||||||
DEFAULT_PUBSUB_TOPIC,
|
|
||||||
"/waku/2/rs/0/1",
|
|
||||||
"/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"]
|
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"]
|
||||||
|
|
||||||
|
|||||||
@ -43,7 +43,7 @@ class TestFilterSubscribeCreate(StepsFilter):
|
|||||||
except Exception as ex:
|
except Exception as ex:
|
||||||
logger.error(f"PubsubTopic {pubsub_topic} failed: {str(ex)}")
|
logger.error(f"PubsubTopic {pubsub_topic} failed: {str(ex)}")
|
||||||
failed_pubsub_topics.append(pubsub_topic)
|
failed_pubsub_topics.append(pubsub_topic)
|
||||||
assert failed_pubsub_topics == [self.another_cluster_pubsub_topic], f"PubsubTopics failed: {failed_pubsub_topics}"
|
assert not failed_pubsub_topics, f"PubsubTopics failed: {failed_pubsub_topics}"
|
||||||
|
|
||||||
def test_filter_subscribe_to_30_content_topics_in_one_call(self):
|
def test_filter_subscribe_to_30_content_topics_in_one_call(self):
|
||||||
failed_content_topics = []
|
failed_content_topics = []
|
||||||
|
|||||||
@ -69,7 +69,7 @@ class TestFilterUnSubscribe(StepsFilter):
|
|||||||
)
|
)
|
||||||
raise AssertionError("Unsubscribe from more than 30 content topics worked!!!")
|
raise AssertionError("Unsubscribe from more than 30 content topics worked!!!")
|
||||||
except Exception as ex:
|
except Exception as ex:
|
||||||
assert "Not Found" in str(ex) and "exceeds maximum content topics: 30" in str(ex)
|
assert "exceeds maximum content topics: 30" in str(ex)
|
||||||
|
|
||||||
def test_filter_unsubscribe_with_no_content_topic(self):
|
def test_filter_unsubscribe_with_no_content_topic(self):
|
||||||
try:
|
try:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user