Skip to content

Commit

Permalink
[KOGITO-9729] Stopping containers into the same shell test
Browse files Browse the repository at this point in the history
Signed-off-by: Davide Salerno <[email protected]>
  • Loading branch information
davidesalerno committed Sep 1, 2023
1 parent a6de657 commit dc9ecd2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/shell/kogito-swf-builder/RunTests.java
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ public void testBuiltContainerAnswerCorrectly() throws URISyntaxException, IOExc
.build();
HttpResponse<String> response = HttpClient.newHttpClient().send(request, BodyHandlers.ofString());
assertEquals(201, response.statusCode());
greetBuiltImage.stop();
}

@Container
Expand All @@ -91,6 +92,7 @@ public void testBuiltContainerWithInputSchemaAnswerCorrectly() throws URISyntaxE
.build();
HttpResponse<String> response = HttpClient.newHttpClient().send(request, BodyHandlers.ofString());
assertEquals(201, response.statusCode());
greetWithInputSchemaBuiltImage.stop();
}

public static void main(String... args) throws Exception {
Expand Down

0 comments on commit dc9ecd2

Please sign in to comment.