Skip to content

Commit

Permalink
Update tests for more stability
Browse files Browse the repository at this point in the history
  • Loading branch information
travispeloton committed Oct 15, 2024
1 parent 32d77e1 commit 9287e58
Showing 1 changed file with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class ExampleAppTest : TestcontainersBase() {

// when
LogMessageWaitStrategy()
.withRegEx(".* Receive Message producer ZMQ socket closed.*\\s")
.withRegEx(".* Shutting down Locust Worker.*\\s")
.withStartupTimeout(Duration.ofSeconds(5))
.waitUntilReady(locustWorkerExampleContainer)

Expand All @@ -53,8 +53,6 @@ class ExampleAppTest : TestcontainersBase() {
"Stats consumer stopped",
"Stats reporter stopped",
"Shutting down Locust Worker",
"Closing connection",
"Receive Message producer ZMQ socket closed",
),
)
} finally {
Expand Down Expand Up @@ -83,7 +81,7 @@ class ExampleAppTest : TestcontainersBase() {

// when
LogMessageWaitStrategy()
.withRegEx(".* Receive Message producer ZMQ socket closed.*\\s")
.withRegEx(".* Shutting down Locust Worker.*\\s")
.withStartupTimeout(Duration.ofSeconds(5))
.waitUntilReady(locustWorkerExampleContainer)

Expand Down Expand Up @@ -113,8 +111,6 @@ class ExampleAppTest : TestcontainersBase() {
"Stats consumer stopped",
"Stats reporter stopped",
"Shutting down Locust Worker",
"Closing connection",
"Receive Message producer ZMQ socket closed",
),
)
} finally {
Expand Down

0 comments on commit 9287e58

Please sign in to comment.