Skip to content

Commit 60e66eb

Browse files
committed
remove the commented out code
1 parent 757d3dd commit 60e66eb

File tree

1 file changed

+0
-24
lines changed

1 file changed

+0
-24
lines changed

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

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ public class ItPodsRestart extends BaseTest {
5252
@BeforeClass
5353
public static void staticPrepare() throws Exception {
5454
// initialize test properties and create the directories
55-
//if (QUICKTEST) {
5655
if (!QUICKTEST) {
5756
initialize(APP_PROPS_FILE);
5857

@@ -80,7 +79,6 @@ public static void staticPrepare() throws Exception {
8079
*/
8180
@AfterClass
8281
public static void staticUnPrepare() throws Exception {
83-
//if (QUICKTEST) {
8482
if (!QUICKTEST) {
8583
logger.info("+++++++++++++++++++++++++++++++++---------------------------------+");
8684
logger.info("BEGIN");
@@ -231,28 +229,6 @@ public void testServerPodsRestartByChangingZImage() throws Exception {
231229
);
232230

233231
if (BaseTest.SHARED_CLUSTER) {
234-
/*String newImage =
235-
System.getenv("REPO_REGISTRY") + "/weblogick8s/middleware/weblogic:duplicate";
236-
// tag image with repo name
237-
String tag =
238-
"docker tag " + getWeblogicImageName() + ":" + getWeblogicImageTag() + " " + newImage;
239-
TestUtils.exec(tag, true);
240-
TestUtils.exec("docker images", true);
241-
String newImage = getWeblogicImageServer()+ "/middleware/weblogic:12.2.1.3-dev";
242-
243-
// login and push image to ocir
244-
TestUtils.loginAndPushImageToOcir(newImage);
245-
246-
// create ocir registry secret in the same ns as domain which is used while pulling the
247-
// image
248-
TestUtils.createDockerRegistrySecret(
249-
"docker-store",
250-
System.getenv("REPO_REGISTRY"),
251-
System.getenv("REPO_USERNAME"),
252-
System.getenv("REPO_PASSWORD"),
253-
System.getenv("REPO_EMAIL"),
254-
domain.getDomainNs());*/
255-
256232
String newImage = getWeblogicImageServer()+ "/middleware/weblogic:12.2.1.3-dev";
257233
// apply new domain yaml and verify pod restart
258234
domain.verifyDomainServerPodRestart(

0 commit comments

Comments
 (0)