fix(test/client): implement pipeline testing skip in teardown function
This commit is contained in:
parent
88ef77d858
commit
33a542672f
1 changed files with 2 additions and 0 deletions
|
|
@ -47,6 +47,8 @@ class ServerUtilsTest {
|
||||||
|
|
||||||
@AfterEach
|
@AfterEach
|
||||||
void tearDown() throws IOException, InterruptedException {
|
void tearDown() throws IOException, InterruptedException {
|
||||||
|
// Not applicable in pipeline testing
|
||||||
|
Assumptions.assumeTrue(dv.isServerAvailable(), "Server not available");
|
||||||
dv.getRecipes().stream().map(Recipe::getId).forEach(id -> {
|
dv.getRecipes().stream().map(Recipe::getId).forEach(id -> {
|
||||||
try {
|
try {
|
||||||
dv.deleteRecipe(id);
|
dv.deleteRecipe(id);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue