Skip to content
Advertisement

selenium.ScriptTimeoutException: java.util.concurrent.TimeoutException

I have Cucumber tests that run in parallel via Maven Surefire plugin. Sometimes the code throws me an error: selenium.ScriptTimeoutException: java.util.concurrent.TimeoutException which is obviously related to parallel run. But I have no idea how to avoid it.

Here is the whole error log:

JavaScript

Advertisement

Answer

So the solution was to restrict the number of parallel runs because of resources on my VPS. Example from my pom.xml

JavaScript
User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement