Skip to content

Commit 6cf3453

Browse files
committed
reduced waitPodTime
1 parent 4deab5a commit 6cf3453

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

integration-tests/src/test/java/oracle/kubernetes/operator/BaseTest.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -590,6 +590,14 @@ public static int getMaxIterationsPod() {
590590
return maxIterationsPod;
591591
}
592592

593+
public static void setMaxIterationsPod(int iterationsPod) {
594+
maxIterationsPod = iterationsPod;
595+
}
596+
597+
public static void setWaitTimePod(int timePod) {
598+
waitTimePod = timePod;
599+
}
600+
593601
public static int getWaitTimePod() {
594602
return waitTimePod;
595603
}

integration-tests/src/test/java/oracle/kubernetes/operator/ITPodsShutdown.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,8 @@ public static void staticPrepare() throws Exception {
7979
// testAppName, scriptName, BaseTest.getUsername(), BaseTest.getPassword());
8080
domainUid = domain.getDomainUid();
8181
domainNS = domain.getDomainNS();
82+
BaseTest.setWaitTimePod(2);
83+
BaseTest.setMaxIterationsPod(100);
8284
// Wait some time for deployment gets ready
8385
// Thread.sleep(10 * 1000);
8486
// restart managed server to get default shutdown time with default shutdown options

0 commit comments

Comments
 (0)