Closed
Description
Originally reported by: Dave Hunt (BitBucket: davehunt, GitHub: davehunt)
It appears that since <> our plugin's pytest_runtest_teardown is often delayed in execution to the point of causing test failures.
We run Selenium tests using Selenium Grid for parallel execution. Since the above mentioned changeset if a test has to wait for an available Selenium node then the pytest_runtest_teardown is not executing until after the test session is timed out by Selenium. This means that the teardown method will fail as it attempts to use the session that has just timed out.
I can replicate this 100% of the time with this changeset. Please let me know how I can assist with resolving this issue.
Thanks in advance.