Perhaps you need to set order of execution of tests, by giving following optional parameter.
runOrder: Defines the order the tests will be run in. Supported values are "alphabetical", "reversealphabetical", "random", "hourly" (alphabetical on even hours, reverse alphabetical on odd hours) and "filesystem". Odd/Even for hourly is determined at the time the of scanning the classpath, meaning it could change during a multi-module build. Type: java.lang.String Since: 2.7 Required: No Default: filesystem check following-->http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html#runOrder -- View this message in context: http://maven.40175.n5.nabble.com/Surefire-Test-Sequence-tp108365p4287146.html Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org