From dc9ecd2c728fe17aa42440512992b7fc2bc29ba6 Mon Sep 17 00:00:00 2001 From: Davide Salerno Date: Wed, 30 Aug 2023 16:01:27 +0200 Subject: [PATCH] [KOGITO-9729] Stopping containers into the same shell test Signed-off-by: Davide Salerno --- tests/shell/kogito-swf-builder/RunTests.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/shell/kogito-swf-builder/RunTests.java b/tests/shell/kogito-swf-builder/RunTests.java index ea63d6084..8c5705028 100644 --- a/tests/shell/kogito-swf-builder/RunTests.java +++ b/tests/shell/kogito-swf-builder/RunTests.java @@ -67,6 +67,7 @@ public void testBuiltContainerAnswerCorrectly() throws URISyntaxException, IOExc .build(); HttpResponse response = HttpClient.newHttpClient().send(request, BodyHandlers.ofString()); assertEquals(201, response.statusCode()); + greetBuiltImage.stop(); } @Container @@ -91,6 +92,7 @@ public void testBuiltContainerWithInputSchemaAnswerCorrectly() throws URISyntaxE .build(); HttpResponse response = HttpClient.newHttpClient().send(request, BodyHandlers.ofString()); assertEquals(201, response.statusCode()); + greetWithInputSchemaBuiltImage.stop(); } public static void main(String... args) throws Exception {