Serenity Junit 5 parallel execution is not working
Opened this issue · 0 comments
bachhavdipak commented
I am trying to trigger parallel execution using experitest with the below configuration but when I trigger our test we are getting below exception on an intermittent basis.
junit.jupiter.execution.parallel.enabled = true
junit.jupiter.execution.parallel.mode.default = same_thread
junit.jupiter.execution.parallel.mode.classes.default = same_thread
junit.jupiter.execution.parallel.config.strategy = dynamic
Error :
net.thucydides.core.webdriver.DriverConfigurationError: Could not instantiate new WebDriver instance of type class net.thucydides.core.webdriver.ProvidedDriver (Could not instantiate the custom webdriver provider of type mydriver). See below for more details.
Please note we are trying to run 10 different regions (uk ,au..etc in parallel mode) simultaneously and we have observed that above DriverConfigurationError on an intermittent basis.