Skip to content

Commit

Permalink
Merge pull request #13333 from npamudika/master
Browse files Browse the repository at this point in the history
Stop servers properly after running the tests
  • Loading branch information
npamudika authored Jan 23, 2024
2 parents e82d9f9 + cdce5ee commit 1a40346
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion modules/integration/tests-integration/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ under the License.
<packaging>pom</packaging>

<modules>
<module>tests-benchmark</module>
<!--module>tests-benchmark</module-->
<module>tests-backend</module>
<module>tests-restart</module>
<!--module>tests-config</module-->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,9 @@ public static Object[][] userModeDataProvider() {

@AfterClass(alwaysRun = true)
public void destroy() throws Exception {
if (wireMockServer != null) {
wireMockServer.stop();
}
restAPIPublisher.deleteAPI(newSoapToRestAPIId);
userManagementClient.deleteRole(SOAPTOREST_ROLE);
userManagementClient.deleteUser(SOAPTOREST_TEST_USER);
Expand Down

0 comments on commit 1a40346

Please sign in to comment.