From 5273451bf8ab820e89ec78b3457ee190281adb2b Mon Sep 17 00:00:00 2001 From: ChithraMini Date: Mon, 7 Apr 2025 17:41:12 +0530 Subject: [PATCH 1/2] Turning off the testcases to prevent build failures due to docker image - Defect 303550 --- .../fat/src/com/ibm/ws/mongo/fat/FATSuite.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/dev/com.ibm.ws.mongo_fat/fat/src/com/ibm/ws/mongo/fat/FATSuite.java b/dev/com.ibm.ws.mongo_fat/fat/src/com/ibm/ws/mongo/fat/FATSuite.java index 0e0bbb5f9e46..519d550068b1 100644 --- a/dev/com.ibm.ws.mongo_fat/fat/src/com/ibm/ws/mongo/fat/FATSuite.java +++ b/dev/com.ibm.ws.mongo_fat/fat/src/com/ibm/ws/mongo/fat/FATSuite.java @@ -1,10 +1,10 @@ /******************************************************************************* - * Copyright (c) 2013, 2023 IBM Corporation and others. + * Copyright (c) 2013, 2025 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License 2.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-2.0/ - * + * * SPDX-License-Identifier: EPL-2.0 * * Contributors: @@ -21,6 +21,7 @@ import java.util.Map; import org.junit.Assume; +import org.junit.Ignore; import org.junit.runner.RunWith; import org.junit.runners.Suite; import org.junit.runners.Suite.SuiteClasses; @@ -40,6 +41,7 @@ MongoDefaultSSLTest.class, MongoConfigUpdateTest.class }) +@Ignore //Turning off the testcases to prevent build failures due to docker image - Defect 303550 public class FATSuite { public static final String APP_NAME = "mongo"; public static String HOST_NAME; From c8d4d0cecf3995521eb2aaa6dc7009d05105661d Mon Sep 17 00:00:00 2001 From: ChithraMini Date: Tue, 8 Apr 2025 16:26:58 +0530 Subject: [PATCH 2/2] Turning off each test class to prevent build failures due to docker image - Defect 303550 --- .../fat/src/com/ibm/ws/mongo/fat/FATSuite.java | 4 +--- .../fat/src/com/ibm/ws/mongo/fat/MongoBasicTest.java | 4 +++- .../fat/src/com/ibm/ws/mongo/fat/MongoConfigUpdateTest.java | 4 +++- .../fat/src/com/ibm/ws/mongo/fat/MongoDefaultSSLTest.java | 4 +++- .../src/com/ibm/ws/mongo/fat/MongoSSLInvalidTrustTest.java | 4 +++- .../fat/src/com/ibm/ws/mongo/fat/MongoSSLTest.java | 4 +++- 6 files changed, 16 insertions(+), 8 deletions(-) diff --git a/dev/com.ibm.ws.mongo_fat/fat/src/com/ibm/ws/mongo/fat/FATSuite.java b/dev/com.ibm.ws.mongo_fat/fat/src/com/ibm/ws/mongo/fat/FATSuite.java index 519d550068b1..ecda0e242e90 100644 --- a/dev/com.ibm.ws.mongo_fat/fat/src/com/ibm/ws/mongo/fat/FATSuite.java +++ b/dev/com.ibm.ws.mongo_fat/fat/src/com/ibm/ws/mongo/fat/FATSuite.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2013, 2025 IBM Corporation and others. + * Copyright (c) 2013, 2023 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License 2.0 * which accompanies this distribution, and is available at @@ -21,7 +21,6 @@ import java.util.Map; import org.junit.Assume; -import org.junit.Ignore; import org.junit.runner.RunWith; import org.junit.runners.Suite; import org.junit.runners.Suite.SuiteClasses; @@ -41,7 +40,6 @@ MongoDefaultSSLTest.class, MongoConfigUpdateTest.class }) -@Ignore //Turning off the testcases to prevent build failures due to docker image - Defect 303550 public class FATSuite { public static final String APP_NAME = "mongo"; public static String HOST_NAME; diff --git a/dev/com.ibm.ws.mongo_fat/fat/src/com/ibm/ws/mongo/fat/MongoBasicTest.java b/dev/com.ibm.ws.mongo_fat/fat/src/com/ibm/ws/mongo/fat/MongoBasicTest.java index 01d6ab3112f2..cfc4c321fd92 100644 --- a/dev/com.ibm.ws.mongo_fat/fat/src/com/ibm/ws/mongo/fat/MongoBasicTest.java +++ b/dev/com.ibm.ws.mongo_fat/fat/src/com/ibm/ws/mongo/fat/MongoBasicTest.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2015, 2023 IBM Corporation and others. + * Copyright (c) 2015, 2023, 2025 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License 2.0 * which accompanies this distribution, and is available at @@ -14,6 +14,7 @@ import org.junit.AfterClass; import org.junit.BeforeClass; +import org.junit.Ignore; import org.junit.runner.RunWith; import componenttest.annotation.Server; @@ -24,6 +25,7 @@ import fat.mongo.web.MongoTestServlet; @RunWith(FATRunner.class) +@Ignore //Turning off the test cases to prevent build failures due to docker image - Defect 303550 public class MongoBasicTest extends FATServletClient { @Server("mongo.fat.server") diff --git a/dev/com.ibm.ws.mongo_fat/fat/src/com/ibm/ws/mongo/fat/MongoConfigUpdateTest.java b/dev/com.ibm.ws.mongo_fat/fat/src/com/ibm/ws/mongo/fat/MongoConfigUpdateTest.java index 15aec93da50d..a73939930a90 100644 --- a/dev/com.ibm.ws.mongo_fat/fat/src/com/ibm/ws/mongo/fat/MongoConfigUpdateTest.java +++ b/dev/com.ibm.ws.mongo_fat/fat/src/com/ibm/ws/mongo/fat/MongoConfigUpdateTest.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2015, 2023 IBM Corporation and others. + * Copyright (c) 2015, 2023, 2025 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License 2.0 * which accompanies this distribution, and is available at @@ -24,6 +24,7 @@ import org.junit.AfterClass; import org.junit.Before; import org.junit.BeforeClass; +import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; @@ -42,6 +43,7 @@ @RunWith(FATRunner.class) @Mode(TestMode.FULL) +@Ignore //Turning off the test cases to prevent build failures due to docker image - Defect 303550 public class MongoConfigUpdateTest extends FATServletClient { @Server("mongo.fat.server.config.update") public static LibertyServer server; diff --git a/dev/com.ibm.ws.mongo_fat/fat/src/com/ibm/ws/mongo/fat/MongoDefaultSSLTest.java b/dev/com.ibm.ws.mongo_fat/fat/src/com/ibm/ws/mongo/fat/MongoDefaultSSLTest.java index 989acc2206af..e174255019fb 100644 --- a/dev/com.ibm.ws.mongo_fat/fat/src/com/ibm/ws/mongo/fat/MongoDefaultSSLTest.java +++ b/dev/com.ibm.ws.mongo_fat/fat/src/com/ibm/ws/mongo/fat/MongoDefaultSSLTest.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2015, 2023 IBM Corporation and others. + * Copyright (c) 2015, 2023, 2025 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License 2.0 * which accompanies this distribution, and is available at @@ -16,6 +16,7 @@ import org.junit.AfterClass; import org.junit.BeforeClass; +import org.junit.Ignore; import org.junit.runner.RunWith; import componenttest.annotation.Server; @@ -26,6 +27,7 @@ import fat.mongo.web.MongoDbSSLDefaultConfigServlet; @RunWith(FATRunner.class) +@Ignore //Turning off the test cases to prevent build failures due to docker image - Defect 303550 public class MongoDefaultSSLTest extends FATServletClient { @Server("mongo.fat.server.ssl.default.config") diff --git a/dev/com.ibm.ws.mongo_fat/fat/src/com/ibm/ws/mongo/fat/MongoSSLInvalidTrustTest.java b/dev/com.ibm.ws.mongo_fat/fat/src/com/ibm/ws/mongo/fat/MongoSSLInvalidTrustTest.java index 8cce968861a3..7b6509b6aaed 100644 --- a/dev/com.ibm.ws.mongo_fat/fat/src/com/ibm/ws/mongo/fat/MongoSSLInvalidTrustTest.java +++ b/dev/com.ibm.ws.mongo_fat/fat/src/com/ibm/ws/mongo/fat/MongoSSLInvalidTrustTest.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2015, 2023 IBM Corporation and others. + * Copyright (c) 2015, 2023, 2025 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License 2.0 * which accompanies this distribution, and is available at @@ -18,6 +18,7 @@ import org.junit.AfterClass; import org.junit.Before; import org.junit.BeforeClass; +import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; @@ -31,6 +32,7 @@ @RunWith(FATRunner.class) @Mode(TestMode.FULL) +@Ignore //Turning off the test cases to prevent build failures due to docker image - Defect 303550 public class MongoSSLInvalidTrustTest extends FATServletClient { @Server("mongo.fat.server.ssl") public static LibertyServer server; diff --git a/dev/com.ibm.ws.mongo_fat/fat/src/com/ibm/ws/mongo/fat/MongoSSLTest.java b/dev/com.ibm.ws.mongo_fat/fat/src/com/ibm/ws/mongo/fat/MongoSSLTest.java index ffd342dc8514..b3fe7e01a94c 100644 --- a/dev/com.ibm.ws.mongo_fat/fat/src/com/ibm/ws/mongo/fat/MongoSSLTest.java +++ b/dev/com.ibm.ws.mongo_fat/fat/src/com/ibm/ws/mongo/fat/MongoSSLTest.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2015, 2023 IBM Corporation and others. + * Copyright (c) 2015, 2023, 2025 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License 2.0 * which accompanies this distribution, and is available at @@ -18,6 +18,7 @@ import org.junit.AfterClass; import org.junit.Before; import org.junit.BeforeClass; +import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; @@ -32,6 +33,7 @@ import fat.mongo.web.MongoTestServlet; @RunWith(FATRunner.class) +@Ignore //Turning off the test cases to prevent build failures due to docker image - Defect 303550 public class MongoSSLTest extends FATServletClient { @Server("mongo.fat.server.ssl") @TestServlets({