fix the community setup
This commit is contained in:
parent
69cf71875a
commit
83fe97451c
|
@ -9,9 +9,7 @@ from src.steps.common import StepsCommon
|
|||
class TestCommunityMessages(StepsCommon):
|
||||
@pytest.mark.flaky(reruns=2)
|
||||
def test_community_messages_baseline(self):
|
||||
try:
|
||||
assert self.community_nodes
|
||||
except:
|
||||
if not self.community_nodes:
|
||||
self.setup_community_nodes(node_limit=1)
|
||||
self.join_created_communities()
|
||||
|
||||
|
|
|
@ -9,9 +9,7 @@ from datetime import datetime
|
|||
class TestFetchCommunity(StepsCommon):
|
||||
@pytest.mark.flaky(reruns=2)
|
||||
def test_fetch_community_baseline(self):
|
||||
try:
|
||||
self.community_nodes
|
||||
except:
|
||||
if not self.community_nodes:
|
||||
self.setup_community_nodes()
|
||||
|
||||
failed_community_fetches = []
|
||||
|
|
|
@ -9,9 +9,7 @@ from datetime import datetime
|
|||
class TestJoinCommunity(StepsCommon):
|
||||
@pytest.mark.flaky(reruns=2)
|
||||
def test_join_community_baseline(self):
|
||||
try:
|
||||
self.community_nodes
|
||||
except:
|
||||
if not self.community_nodes:
|
||||
self.setup_community_nodes()
|
||||
|
||||
community_join_requests = []
|
||||
|
|
|
@ -8,9 +8,7 @@ from datetime import datetime
|
|||
class TestLeaveCommunity(StepsCommon):
|
||||
@pytest.mark.flaky(reruns=2)
|
||||
def test_leave_community_baseline(self):
|
||||
try:
|
||||
self.community_nodes
|
||||
except:
|
||||
if not self.community_nodes:
|
||||
self.setup_community_nodes()
|
||||
self.join_created_communities()
|
||||
|
||||
|
|
Loading…
Reference in New Issue