Use TCP socket to communicate with Karaf in SFT 30/90430/2
authorRobert Varga <robert.varga@pantheon.tech>
Fri, 12 Jun 2020 10:38:34 +0000 (12:38 +0200)
committerRobert Varga <nite@hq.sk>
Mon, 15 Jun 2020 10:27:58 +0000 (10:27 +0000)
surefire-3.0.0-M5 finally implements proper separation of communication
channels, so that we do not get cross-talk from the forked process.

Use this version and TCP for communication with Karaf.

JIRA: ODLPARENT-179
Change-Id: I2954180c7085be56cf6e5bc574a5a380d0992c75
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
single-feature-parent/pom.xml

index 460b20a5a58eeb76f053d8c9a7be7c4e7fcdab67..8aca3940a38b04f9c9014082427f4028907cb368 100644 (file)
         <plugins>
             <plugin>
                 <artifactId>maven-surefire-plugin</artifactId>
+                <!-- Overridden to have TCP channel support -->
+                <version>3.0.0-M5</version>
                 <configuration>
+                    <!-- Overridden to fix corruption with SFT, where the process would hang after test -->
+                    <forkNode implementation="org.apache.maven.plugin.surefire.extensions.SurefireForkNodeFactory"/>
                     <dependenciesToScan>
                         <dependency>org.opendaylight.odlparent:features-test</dependency>
                     </dependenciesToScan>