Change max nodes to 20 when node_2 = go-waku

This commit is contained in:
aya 2024-11-06 15:07:06 +02:00
parent 048e617579
commit fe2bd97fe9
1 changed files with 6 additions and 2 deletions

View File

@ -181,7 +181,9 @@ class TestE2E(StepsFilter, StepsStore, StepsRelay, StepsLightPush):
@pytest.mark.timeout(60 * 7)
# @pytest.mark.skipif("go-waku" in (NODE_1 + NODE_2), reason="Test works only with nwaku")
def test_filter_30_senders_1_receiver(self):
total_senders = 25
total_senders = 30
if "go-waku" in NODE_2:
total_senders = 20
node_list = []
logger.debug(f"Start {total_senders} nodes to publish messages ")
@ -263,7 +265,9 @@ class TestE2E(StepsFilter, StepsStore, StepsRelay, StepsLightPush):
@pytest.mark.timeout(60 * 3)
# @pytest.mark.skipif("go-waku" in (NODE_1 + NODE_2), reason="Test works only with nwaku")
def test_filter_many_subscribed_nodes(self):
max_subscribed_nodes = 25
max_subscribed_nodes = 30
if "go-waku" in NODE_2:
max_subscribed_nodes = 20
if STRESS_ENABLED:
max_subscribed_nodes = 500
node_list = []