We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d3be47 commit 8b2385eCopy full SHA for 8b2385e
pytest_reportportal/plugin.py
@@ -49,12 +49,12 @@ def pytest_sessionstart(session):
49
description=session.config.getini('rp_launch_description'),
50
)
51
if session.config.pluginmanager.hasplugin('xdist'):
52
- wait_launch(session.config.py_test_service.RP.rp_client.launch_id)
+ wait_launch(session.config.py_test_service.RP.rp_client)
53
54
55
-def wait_launch(self):
+def wait_launch(rp_client):
56
timeout = time.time() + 10
57
- while not self.rp_client.launch_id:
+ while not rp_client.launch_id:
58
if time.time() > timeout:
59
raise Exception("Launch not found")
60
time.sleep(1)
0 commit comments