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: Answer So the solution was to restrict the number of parallel runs because of resources on my
Tag: maven-surefire-plugin
How to print exceptions on console? I am using TestNG and Maven
I want to see the exceptions on console. I am using TestNG with Maven as a build tool. I have defined my testng.xml in the Maven surefire plugin.
how to pass –add-opens JDK module configuration to maven test
I’m upgrading java version in our production code from java 8 to java 11. I have to add the below JDK module configuration in the application java start command due to usage of third party libraries …
Problem running tests with enabled preview features in surefire and failsafe
I’m trying to migrate a project to Java 12, with –enable-preview. I added –enable-preview in compiler settings:
Maven build and maven-failsafe-plugin – The forked VM terminated without properly saying goodbye
I use Docker and https://github.com/fabric8io/docker-maven-plugin for my integration tests. On my Windows 10 (after updating to Windows 10 1709) machine I faced the following error with my Maven 3.5.0 build: Right now I have no idea what can be wrong, I don’t see any failures with my tests. What can be a reason of this issue and how to solve