Uploaded image for project: 'AppFormer'
  1. AppFormer
  2. AF-299

Disable git/ssh daemons by default when running tests

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • 0.9.0.Final
    • 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>
      

              psiroky_jira Petr Široký (Inactive)
              psiroky_jira Petr Široký (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: