Skip to content

Commit 4163770

Browse files
remove hard sleep
1 parent aacdd0e commit 4163770

File tree

1 file changed

+2
-3
lines changed
  • integration-tests/src/test/java/oracle/kubernetes/operator/utils

1 file changed

+2
-3
lines changed

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -915,10 +915,9 @@ public void testDomainServerPodRestart(String oldPropertyString, String newPrope
915915
public void verifyAdminServerRestarted() throws Exception {
916916
logger.info("Checking if admin pod(" + domainUid + "-" + adminServerName + ") is Terminating");
917917
TestUtils.checkPodTerminating(domainUid + "-" + adminServerName, domainNS);
918-
Thread.sleep(10 * 1000);
918+
919919
logger.info("Checking if admin pod(" + domainUid + "-" + adminServerName + ") is Running");
920920
TestUtils.checkPodCreated(domainUid + "-" + adminServerName, domainNS);
921-
Thread.sleep(10 * 1000);
922921
}
923922

924923
/**
@@ -940,7 +939,7 @@ public void verifyManagedServersRestarted() throws Exception {
940939
+ i
941940
+ ") is Terminating");
942941
TestUtils.checkPodTerminating(domainUid + "-" + managedServerNameBase + i, domainNS);
943-
Thread.sleep(10 * 1000);
942+
944943
logger.info(
945944
"Checking if managed pod("
946945
+ domainUid

0 commit comments

Comments
 (0)