Skip to content

Commit b4bd520

Browse files
committed
rename java test, fix pom file
1 parent d1cfafd commit b4bd520

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

integration-tests/pom.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@
6868
<properties>
6969
<src-integration-test>${project.basedir}/src/test/java</src-integration-test>
7070
<resource-integration-test>${project.basedir}/src/test/resources</resource-integration-test>
71+
<skipITs>false</skipITs>
7172
</properties>
7273
<build>
7374
<plugins>
@@ -152,7 +153,7 @@
152153
<!--<TAGS>${env.TAGS}</TAGS> -->
153154
<maxThreads>3</maxThreads>
154155
</systemPropertyVariables>
155-
</configuration>
156+
</configuration>
156157

157158
<executions>
158159
<execution>
@@ -163,7 +164,7 @@
163164
</goals>
164165
<phase>integration-test</phase>
165166
<configuration>
166-
<skipTests>false</skipTests>
167+
<skipTests>${skipITs}</skipTests>
167168
</configuration>
168169
</execution>
169170
</executions>

integration-tests/src/test/java/oracle/kubernetes/operator/ITIntegrationTest.java renamed to integration-tests/src/test/java/oracle/kubernetes/operator/ITOperator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
* Operator(s).
2121
*/
2222
@FixMethodOrder(MethodSorters.NAME_ASCENDING)
23-
public class ITIntegrationTest extends BaseTest {
23+
public class ITOperator extends BaseTest {
2424

2525
// property file used to customize operator properties for operator inputs yaml
2626
private static String op1PropsFile = "ITFirstOperator.properties";

integration-tests/src/test/java/oracle/kubernetes/operator/utils/Domain.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@ public void verifyAdminConsoleViaLB() throws Exception {
443443
.append(" --write-out %{http_code} -o ")
444444
.append(responseBodyFile);
445445
logger.info("cmd for curl " + cmd);
446-
446+
447447
ExecResult result = ExecCommand.exec(cmd.toString());
448448
if (result.exitValue() != 0) {
449449
throw new RuntimeException(
@@ -454,7 +454,7 @@ public void verifyAdminConsoleViaLB() throws Exception {
454454
+ "\n "
455455
+ result.stdout());
456456
}
457-
457+
458458
String output = result.stdout().trim();
459459
logger.info("output " + output);
460460
if (!output.equals("200")) {

0 commit comments

Comments
 (0)