Skip to content

Commit 304216c

Browse files
committed
Minor change to an unit test.
1 parent 382f248 commit 304216c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

operator/src/test/java/oracle/kubernetes/operator/DomainProcessorTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -589,7 +589,7 @@ void whenClusterScaleUpToReplicas4_fromReplicas2_server3And4WithAlwaysPolicy_est
589589
establishPreviousIntrospection(null, Arrays.asList(1, 3, 4));
590590

591591
for (Integer i : Arrays.asList(3,4)) {
592-
domainConfigurator.configureServer(MS_PREFIX + i).withServerStartPolicy(START_ALWAYS);
592+
domainConfigurator.configureServer(getManagedServerName(i)).withServerStartPolicy(START_ALWAYS);
593593
}
594594

595595
domainConfigurator.configureCluster(CLUSTER).withReplicas(4);
@@ -604,7 +604,7 @@ void whenClusterScaleUpToReplicas4_fromReplicas2_server3And4WithAlwaysPolicy_est
604604

605605
assertServerPodAndServicePresent(info, ADMIN_NAME);
606606
for (Integer i : Arrays.asList(1,2,3,4)) {
607-
assertServerPodAndServicePresent(info, MS_PREFIX + i);
607+
assertServerPodAndServicePresent(info, getManagedServerName(i));
608608
}
609609

610610
assertThat(info.getClusterService(CLUSTER), notNullValue());

0 commit comments

Comments
 (0)