Skip to content

Commit

Permalink
#334 - Re-enable CodeableConceptServiceIT
Browse files Browse the repository at this point in the history
- add a 5 second sleep to check if it is simply a timing issue
  • Loading branch information
michael-82 committed Dec 12, 2024
1 parent b58144b commit cb00146
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public class CodeableConceptServiceIT {
.waitingFor(Wait.forHttp("/health").forStatusCodeMatching(c -> c >= 200 && c <= 500));

@BeforeAll
static void setUp() {
static void setUp() throws InterruptedException {
ELASTICSEARCH_CONTAINER.start();
WebClient webClient = WebClient.builder().baseUrl("http://" + ELASTICSEARCH_CONTAINER.getHttpHostAddress()).build();
webClient.put()
Expand All @@ -71,6 +71,7 @@ static void setUp() {
.retrieve()
.toBodilessEntity()
.block();
Thread.sleep(5000);
}

@AfterAll
Expand Down

0 comments on commit cb00146

Please sign in to comment.