Skip to content

Commit 63bc974

Browse files
committed
fix
1 parent 7e39e97 commit 63bc974

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,13 @@ private void upgradeOperatorHelm(String upgradeRelease) throws Exception {
213213
Thread.sleep(1000 * 10);
214214
TestUtils.ExecAndPrintLog(
215215
"kubectl get domain -n weblogic-domain operator20domain -o jsonpath={.apiVersion}");
216+
ExecResult exec =
217+
TestUtils.exec(
218+
"kubectl get domain -n weblogic-domain operator20domain -o jsonpath={.apiVersion}");
219+
if (exec.stdout().contains("weblogic.oracle/v4")) {
220+
logger.log(Level.INFO, "Got the expected apiVersion");
221+
break;
222+
}
216223
}
217224
TestUtils.ExecAndPrintLog("kubectl get all --all-namespaces");
218225
}

0 commit comments

Comments
 (0)