From 771b80a3a77f2dec09fb998b77c52b9eebc66d62 Mon Sep 17 00:00:00 2001 From: Tracy Burroughs <29557092+tkburroughs@users.noreply.github.com> Date: Wed, 15 Jan 2025 10:47:53 -0600 Subject: [PATCH] Remove TestName Rule from EJB FATSuite Presence of TestName Rule on test breaks use of same Rule on parent class - remove rule on test class; not needed/used --- .../ibm/ws/ejbcontainer/v32/fat/tests/PassivationTest.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/dev/com.ibm.ws.ejbcontainer.v32_fat/fat/src/com/ibm/ws/ejbcontainer/v32/fat/tests/PassivationTest.java b/dev/com.ibm.ws.ejbcontainer.v32_fat/fat/src/com/ibm/ws/ejbcontainer/v32/fat/tests/PassivationTest.java index 6b034dce1205..9224b33dee45 100644 --- a/dev/com.ibm.ws.ejbcontainer.v32_fat/fat/src/com/ibm/ws/ejbcontainer/v32/fat/tests/PassivationTest.java +++ b/dev/com.ibm.ws.ejbcontainer.v32_fat/fat/src/com/ibm/ws/ejbcontainer/v32/fat/tests/PassivationTest.java @@ -19,9 +19,7 @@ import org.junit.AfterClass; import org.junit.Assert; import org.junit.BeforeClass; -import org.junit.Rule; import org.junit.Test; -import org.junit.rules.TestName; import org.junit.runner.RunWith; import com.ibm.websphere.simplicity.ShrinkHelper; @@ -88,9 +86,6 @@ private static void checkUnexpectedPrePassivate() throws Exception { } } - @Rule - public final TestName testName = new TestName(); - @Test public void testPassivationCapable() throws Exception { // Create more SFSB than the cache can hold, which should trigger