Skip to content

Commit b854c5a

Browse files
authored
Fixed ItMiiDynamicUpdatePart1.testMiiUpdateDynamicClusterSize failed intermittently on nightly (#3672)
1 parent 210ef4b commit b854c5a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

integration-tests/src/test/java/oracle/weblogic/kubernetes/ItMiiDynamicUpdatePart1.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,9 @@ void testMiiUpdateDynamicClusterSize() {
383383
assertTrue(p2Success,
384384
String.format("replica patching to 1 failed for cluster %s in namespace %s",
385385
clusterName, helper.domainNamespace));
386-
checkPodReadyAndServiceExists(helper.managedServerPrefix + "1", domainUid, helper.domainNamespace);
386+
for (int i = 1; i <= helper.replicaCount; i++) {
387+
checkPodReadyAndServiceExists(helper.managedServerPrefix + i, domainUid, helper.domainNamespace);
388+
}
387389

388390
// get the creation time of the server pods before patching
389391
LinkedHashMap<String, OffsetDateTime> pods = new LinkedHashMap<>();

0 commit comments

Comments
 (0)