Fix intermittent IT hangs 79/91079/1
authorRobert Varga <robert.varga@pantheon.tech>
Fri, 10 Jul 2020 06:38:22 +0000 (08:38 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Fri, 10 Jul 2020 06:38:22 +0000 (08:38 +0200)
Integration tests may hang due to pax-exam/surefire interaction.
Switch to TCP communication channel to fix these.

Change-Id: Ic4713ff63b073fdf03b8ee072d5a4ccaa20bf48e
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
opendaylight/md-sal/mdsal-it-parent/pom.xml

index 26c9948f1c02dd49c6fa8d6e833e5974459d053a..7e929baaef64b16020f0a7d87f130e6d36f75143 100644 (file)
@@ -111,7 +111,11 @@ and is available at http://www.eclipse.org/legal/epl-v10.html
     <plugins>
       <plugin>
           <artifactId>maven-surefire-plugin</artifactId>
+              <!-- Overridden to have TCP channel support -->
+          <version>3.0.0-M5</version>
           <configuration>
+              <!-- Overridden to fix corruption, where the process would hang after test -->
+              <forkNode implementation="org.apache.maven.plugin.surefire.extensions.SurefireForkNodeFactory"/>
               <systemPropertyVariables>
                 <!-- CONTROLLER-1799: Use the same repository for Pax Exam as is used for Maven -->
                 <org.ops4j.pax.url.mvn.localRepository>${settings.localRepository}</org.ops4j.pax.url.mvn.localRepository>