Skip to content

Commit 5806db1

Browse files
committed
fix
1 parent ca24391 commit 5806db1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,8 +324,9 @@ public void testInitContainerMultiple() throws Exception {
324324
String modYaml = crd.getYamlTree();
325325
logger.info(modYaml);
326326
testInitContainer(modYaml);
327-
String cmd = "kubectl get pod " + pods[0] + " -n " + domain.getDomainNs();
327+
String cmd;
328328
for (String pod : pods) {
329+
cmd = "kubectl get pod " + pod + " -n " + domain.getDomainNs();
329330
TestUtils.checkCmdInLoop(cmd, "Init:0/2", pod);
330331
TestUtils.checkCmdInLoop(cmd, "Init:1/2", pod);
331332
TestUtils.checkPodReady(pod, domain.getDomainNs());

0 commit comments

Comments
 (0)