remove legacy filter flag (#18)
* remove legacy filter flag * fix ping test
This commit is contained in:
parent
98c76dc214
commit
9d769c47d7
|
@ -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",
|
||||||
}
|
}
|
||||||
|
|
|
@ -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):
|
||||||
|
|
Loading…
Reference in New Issue