Skip to content

Commit d524dd3

Browse files
revert ITOperator.java change
1 parent 292b8e6 commit d524dd3

File tree

1 file changed

+0
-57
lines changed

1 file changed

+0
-57
lines changed

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

Lines changed: 0 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -589,63 +589,6 @@ private Domain testAdvancedUseCasesForADomain(Operator operator, Domain domain)
589589
return domain;
590590
}
591591

592-
/**
593-
* Create Operator1 and domainOnPVUsingWLST with admin server and 1 managed server if they are not
594-
* running. After verifying the domain is created properly. Change some properties on domain
595-
* resources that would cause servers to be restarted and verify that server are indeed restarted.
596-
* The properties tested here are: env: "-Dweblogic.StdoutDebugEnabled=false"-->
597-
* "-Dweblogic.StdoutDebugEnabled=false"
598-
*
599-
* @throws Exception
600-
*/
601-
@Test
602-
public void testServerRestartByDomainOnPVUsingWLST() throws Exception {
603-
Assume.assumeFalse(QUICKTEST);
604-
String testMethodName = new Object() {}.getClass().getEnclosingMethod().getName();
605-
logTestBegin(testMethodName);
606-
607-
logger.info("Checking if operator1 and domain are running, if not creating");
608-
if (operator1 == null) {
609-
operator1 = TestUtils.createOperator(operator1File);
610-
}
611-
612-
Domain domain = null;
613-
boolean testCompletedSuccessfully = false;
614-
try {
615-
// load input yaml to map and add configOverrides
616-
Map<String, Object> domainMap = TestUtils.loadYaml(domainonpvwlstFile);
617-
domainMap.put("domainUID", "domainlifecycle");
618-
domainMap.put("adminNodePort", new Integer("30707"));
619-
domainMap.put("t3ChannelPort", new Integer("30081"));
620-
domainMap.put("initialManagedServerReplicas", new Integer("1"));
621-
622-
logger.info("Creating Domain domain& verifing the domain creation");
623-
domain = TestUtils.createDomain(domainMap);
624-
domain.verifyDomainCreated();
625-
// TODO add some comments
626-
domain.testDomainServerRestart(
627-
"\"-Dweblogic.StdoutDebugEnabled=false\"", "\"-Dweblogic.StdoutDebugEnabled=true\"");
628-
logger.info(
629-
"About to testServerPodRestart for Domain: "
630-
+ domainMap.get("domainUID")
631-
+ " for the env property: StdoutDebugEnabled=true");
632-
633-
} finally {
634-
String domainUidsToBeDeleted = "";
635-
636-
if (domain != null && (JENKINS || testCompletedSuccessfully)) {
637-
domainUidsToBeDeleted = domain.getDomainUid();
638-
}
639-
640-
/* if (!domainUidsToBeDeleted.equals("")) {
641-
logger.info("About to delete domains: " + domainUidsToBeDeleted);
642-
TestUtils.deleteWeblogicDomainResources(domainUidsToBeDeleted);
643-
TestUtils.verifyAfterDeletion(domain);
644-
}*/
645-
}
646-
logger.info("SUCCESS - " + testMethodName);
647-
}
648-
649592
private void testBasicUseCases(Domain domain) throws Exception {
650593
testAdminT3Channel(domain);
651594
testAdminServerExternalService(domain);

0 commit comments

Comments
 (0)