-
Task
-
Resolution: Done
-
Major
-
0.7.2.Final
-
None
-
None
-
NEW
-
NEW
Disabling the git/ssh daemons by default will make the tests more stable. Maven build is usually executed in parallel (e.g. -TC), which means tests in multiple modules are executed in parallel (in different JVM of course) which sometimes leads into random test failures caused by failure to bind to the default git/ssh ports.
Adding following to the surefire config should be enough (and possible fixing the tests which do required the daemons):
<systemPropertyVariables> <org.uberfire.nio.git.daemon.enabled>false</org.uberfire.nio.git.daemon.enabled> <org.uberfire.nio.git.ssh.enabled>false</org.uberfire.nio.git.ssh.enabled> <org.uberfire.sys.repo.monitor.disabled>true</org.uberfire.sys.repo.monitor.disabled> </systemPropertyVariables>