Skip to content

Commit 2ff6a12

Browse files
add the correct default replica count (#3230)
Co-authored-by: [email protected] <[email protected]>
1 parent 20dbc3f commit 2ff6a12

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

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

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -162,12 +162,13 @@ void testCreateMiiDomainWithClusterFromOnPremDomain() {
162162
final String clusterService = domainUid + "-cluster-cluster-1";
163163

164164
// As of WDT v2.3.1, the discovery tool will not put the replica count
165-
// in genererated domain resource yaml file. So the Operator will start
166-
// only one managed server (default replica count)
165+
// in genererated domain resource yaml file. So the Operator will not
166+
// start any managed server (default replica count is zero)
167+
//https://github.com/oracle/weblogic-kubernetes-operator/blob/release/3.4/documentation/domains/Domain.md
167168
// To add custom replica count, need to create a wdt model file with
168169
// kubernates section with custom repilca count
169170
// final int replicaCount = 5;
170-
final int replicaCount = 1;
171+
final int replicaCount = 0;
171172

172173
assertDoesNotThrow(() -> {
173174
logger.info("Deleting and recreating {0}", LIFT_AND_SHIFT_WORK_DIR);

0 commit comments

Comments
 (0)