Skip to content

Commit

Permalink
change wait strategy
Browse files Browse the repository at this point in the history
  • Loading branch information
slemke committed Apr 22, 2024
1 parent 88f26af commit 601bdbb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/container/container.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ describe.sequential('Container', () => {
username: 'test',
password: 'test'
}).start();
const stream = await startedContainer.logs();
const stream = await startedContainer.logs();
stream
.on("data", line => console.log(line))
.on("err", line => console.error(line))
Expand All @@ -48,7 +48,7 @@ describe.sequential('Container', () => {

const initCustomKeycloakContainer = (): KeycloakContainer => {
return new KeycloakContainer()
.withWaitStrategy(Wait.forLogMessage("Running the server in development mode", 5))
.withWaitStrategy(Wait.forLogMessage(/(.*)Running the server in development mode(.*)/, 5))
.withHostname('keycloak')
.withHealth()
.withFeatures([
Expand Down

0 comments on commit 601bdbb

Please sign in to comment.