fix(test/client): implement pipeline testing skip in teardown function

This commit is contained in:
Zhongheng Liu 2025-12-29 14:08:51 +01:00
commit 33a542672f

View file

@ -47,6 +47,8 @@ class ServerUtilsTest {
@AfterEach
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 -> {
try {
dv.deleteRecipe(id);