Fixed feature test failures on the selenium grid for concurrent execution.

This commit is contained in:
Yogesh Mahajan
2020-05-21 19:44:28 +05:30
committed by Akshay Joshi
parent 96939ba985
commit d927a517aa
7 changed files with 132 additions and 40 deletions

View File

@@ -510,7 +510,7 @@ def execute_test(test_module_list_passed, server_passed, driver_passed):
# Delete web-driver instance
thread_name = "parallel_tests" + server_passed['name']
if threading.currentThread().getName() == thread_name:
driver_passed.quit()
test_utils.quit_webdriver(driver_passed)
time.sleep(20)
# Print info about completed tests