remove legacy filter flag (#18)

* remove legacy filter flag

* fix ping test
This commit is contained in:
Florin Barbu 2024-02-21 13:42:13 +02:00 committed by GitHub
parent 98c76dc214
commit 9d769c47d7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1 additions and 2 deletions

View File

@ -86,7 +86,6 @@ class WakuNode:
if self.is_gowaku(): if self.is_gowaku():
go_waku_args = { go_waku_args = {
"min-relay-peers-to-publish": "1", "min-relay-peers-to-publish": "1",
"legacy-filter": "false",
"log-level": "DEBUG", "log-level": "DEBUG",
"rest-filter-cache-capacity": "50", "rest-filter-cache-capacity": "50",
} }

View File

@ -182,7 +182,7 @@ class StepsFilter:
self.ping_filter_subscriptions(str(uuid4()), node=node) self.ping_filter_subscriptions(str(uuid4()), node=node)
raise AssertionError("Ping without any subscription worked") raise AssertionError("Ping without any subscription worked")
except Exception as ex: except Exception as ex:
assert "peer has no subscription" in str(ex) assert "peer has no subscription" in str(ex) or "ping request failed" in str(ex)
@allure.step @allure.step
def add_new_relay_subscription(self, pubsub_topics, node=None): def add_new_relay_subscription(self, pubsub_topics, node=None):