Class InfinispanSuite
java.lang.Object
org.infinispan.server.test.junit5.InfinispanSuite
Hack to ensure that
InfinispanServerExtension instances can be shared against test classes executed across a
Suite. A no-op test is required in the Suite class to ensure that calls to
RegisterExtension are respected. The InfinispanServerExtension can
then register the SelectClasses values so that the server resources are only
cleaned up on the final call to AfterAllCallback.
All test Suites requiring InfinispanServerExtension should extend this class.
This can be removed when JUnit provides native support for @BeforeSuite and @AfterSuite annotations.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
InfinispanSuite
public InfinispanSuite()
-
-
Method Details
-
ignore
@Disabled("No-op test to ensure InfinispanServerExtension at the suite level is registered") @DisplayName("Suite Initializer") @Test public void ignore()
-