Skip to content

Commit 456068c

Browse files
committed
Specified "externalRestHttpsPort: 33001" for operator for testing domain resources deletion sh due to port collision.
1 parent 9ab006b commit 456068c

File tree

3 files changed

+3
-119
lines changed

3 files changed

+3
-119
lines changed

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

Lines changed: 0 additions & 117 deletions
This file was deleted.

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ public void testDeleteOneDomain() throws Exception {
299299

300300
if (operatorForDel == null) {
301301
logger.info("About to create operator");
302-
operatorForDel = TestUtils.createOperator("operator_del.yaml");
302+
operatorForDel = TestUtils.createOperator(opForDelYamlFile);
303303
}
304304
final Domain domain = TestUtils.createDomain(domain1ForDelValueYamlFile);
305305
verifyBeforeDeletion(domain);
@@ -316,7 +316,7 @@ public void testDeleteTwoDomains() throws Exception {
316316

317317
if (operatorForDel == null) {
318318
logger.info("About to create operator");
319-
operatorForDel = TestUtils.createOperator("operator_del.yaml");
319+
operatorForDel = TestUtils.createOperator(opForDelYamlFile);
320320
}
321321
final Domain domain1 = TestUtils.createDomain(domain1ForDelValueYamlFile);
322322
final Domain domain2 = TestUtils.createDomain(domain2ForDelValueYamlFile);

integration-tests/src/test/resources/operator_del.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,5 @@ serviceAccount: weblogic-operator
77
namespace: weblogic-operator-4-del
88
domainNamespaces: [ "domain-ns-4-del-1", "domain-ns-4-del-2" ]
99
externalRestEnabled: true
10+
externalRestHttpsPort: 33001
1011
javaLoggingLevel: FINE

0 commit comments

Comments
 (0)