-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7acc28c
commit ffcd0ef
Showing
5 changed files
with
45 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
...ment-api-server/src/test/java/com/datastax/mgmtapi/BaseDockerIsolatedIntegrationTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
/** | ||
* Copyright DataStax, Inc. | ||
* | ||
* Please see the included license file for details. | ||
*/ | ||
package com.datastax.mgmtapi; | ||
|
||
import java.io.IOException; | ||
import org.junit.After; | ||
|
||
/** | ||
* This class adds and After method to stop the Management API container after each | ||
* individual test. Extend this if tests can't be run against the same running container | ||
* without predictable results. | ||
*/ | ||
public abstract class BaseDockerIsolatedIntegrationTest extends BaseDockerIntegrationTest | ||
{ | ||
|
||
public BaseDockerIsolatedIntegrationTest(String version) throws IOException { | ||
super(version); | ||
} | ||
|
||
@After | ||
public void after() | ||
{ | ||
docker.stopManagementAPI(); | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters