Skip to content

Commit

Permalink
[WFCORE-6815] Move Domain Mode stability test case outside of the Dom…
Browse files Browse the repository at this point in the history
  • Loading branch information
yersan committed May 9, 2024
1 parent cf05617 commit b57fdc8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* SPDX-License-Identifier: Apache-2.0
*/

package org.jboss.as.test.integration.domain.suites;
package org.jboss.as.test.integration.domain;

import static org.jboss.as.controller.descriptions.ModelDescriptionConstants.BLOCKING;
import static org.jboss.as.controller.descriptions.ModelDescriptionConstants.CORE_SERVICE;
Expand Down Expand Up @@ -61,7 +61,7 @@ public DomainStabilityTestCase(Stability desiredStability) {

@BeforeClass
public static void setupDomain() throws Exception {
testSupport = DomainTestSuite.createSupport(DomainStabilityTestCase.class.getSimpleName());
testSupport = DomainTestSupport.createAndStartDefaultSupport(DomainStabilityTestCase.class.getSimpleName());
}

@Before
Expand All @@ -77,8 +77,10 @@ public void tearDown() throws Exception {

@AfterClass
public static void tearDownDomain() throws Exception {
testSupport = null;
DomainTestSuite.stopSupport();
if (testSupport != null) {
testSupport.close();
testSupport = null;
}
}

@Test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,7 @@
ValidateAddressOperationTestCase.class,
ValidateOperationOperationTestCase.class,
WildcardOperationsTestCase.class,
ServerAuthenticationTestCase.class,
DomainStabilityTestCase.class
ServerAuthenticationTestCase.class
})
public class DomainTestSuite {

Expand Down

0 comments on commit b57fdc8

Please sign in to comment.