Skip to content

Commit

Permalink
fix: consul race on HTTP port (#2336)
Browse files Browse the repository at this point in the history
* fix: consul race on HTTP port

Signed-off-by: Adrian Cole <adrian@tetrate.io>

* revert image bump

Signed-off-by: Adrian Cole <adrian@tetrate.io>

---------

Signed-off-by: Adrian Cole <adrian@tetrate.io>
  • Loading branch information
codefromthecrypt committed Mar 8, 2024
1 parent 4dfbf80 commit f95a918
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/consul/consul.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ func RunContainer(ctx context.Context, opts ...testcontainers.ContainerCustomize
Env: map[string]string{},
WaitingFor: wait.ForAll(
wait.ForLog("Consul agent running!"),
wait.ForListeningPort(defaultHttpApiPort+"/tcp"),
),
},
Started: true,
Expand Down

0 comments on commit f95a918

Please sign in to comment.