Skip to content

Commit b6bb488

Browse files
committed
fix
1 parent e21e476 commit b6bb488

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

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

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,8 +208,12 @@ private static void pullImages() throws Exception {
208208

209209
private void upgradeOperatorHelm(String upgradeRelease) throws Exception {
210210
operator20.callHelmUpgrade("image=" + upgradeRelease);
211-
logger.log(Level.INFO, "Sleeping for 10 secs");
212-
Thread.sleep(1000 * 300);
211+
logger.log(Level.INFO, "Sleeping for 5 minutes");
212+
for (int i = 10; i < 300; i = i + 10) {
213+
Thread.sleep(1000 * i);
214+
TestUtils.ExecAndPrintLog(
215+
"kubectl get domain -n weblogic-domain operator20domain -o jsonpath={.apiVersion}");
216+
}
213217
TestUtils.ExecAndPrintLog("kubectl get all --all-namespaces");
214218
}
215219

0 commit comments

Comments
 (0)