Skip to content

Commit bf51567

Browse files
authored
Fix int tests (eugenp#2607)
* Rename JdbcIntegrationTest to JdbcLiveTest * Rename JdbcIntegrationTest to JdbcLiveTest * Rename JdbcIntegrationTest to JdbcLiveTest * Rename Integration tests to Live tests * Turn off benchmarks
1 parent 57f55e1 commit bf51567

4 files changed

Lines changed: 7 additions & 6 deletions

File tree

‎core-java/pom.xml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,8 @@
416416
<executions>
417417
<execution>
418418
<id>run-benchmarks</id>
419-
<phase>integration-test</phase>
419+
<!-- <phase>integration-test</phase>-->
420+
<phase>none</phase>
420421
<goals>
421422
<goal>exec</goal>
422423
</goals>

core-java/src/test/java/com/baeldung/java/nio/selector/NioEchoIntegrationTest.java renamed to core-java/src/test/java/com/baeldung/java/nio/selector/NioEchoLiveTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88
import org.junit.Before;
99
import org.junit.Test;
1010

11-
public class NioEchoIntegrationTest {
11+
public class NioEchoLiveTest {
1212

13-
Process server;
14-
EchoClient client;
13+
private Process server;
14+
private EchoClient client;
1515

1616
@Before
1717
public void setup() throws IOException, InterruptedException {

core-java/src/test/java/com/baeldung/networking/udp/UDPIntegrationTest.java renamed to core-java/src/test/java/com/baeldung/networking/udp/UDPLiveTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
import static org.junit.Assert.assertEquals;
1010
import static org.junit.Assert.assertFalse;
1111

12-
public class UDPIntegrationTest {
12+
public class UDPLiveTest {
1313
private EchoClient client;
1414

1515
@Before

core-java/src/test/java/com/baeldung/printscreen/ScreenshotIntegrationTest.java renamed to core-java/src/test/java/com/baeldung/printscreen/ScreenshotLiveTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
import static org.junit.Assert.assertTrue;
99

10-
public class ScreenshotIntegrationTest {
10+
public class ScreenshotLiveTest {
1111

1212
private Screenshot screenshot = new Screenshot("Screenshot.jpg");
1313
private File file = new File("Screenshot.jpg");

0 commit comments

Comments
 (0)