Skip to content

Commit 22773d9

Browse files
Merge pull request #1604 from ClickHouse/fix_int_test_consistency
add HTTP wait condition for container tests
2 parents 6c5ddb3 + ca4947d commit 22773d9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/utils.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,7 @@ func CreateClickHouseTestEnvironment(testSet string) (ClickHouseTestEnvironment,
167167
WaitingFor: wait.ForAll(
168168
wait.ForListeningPort("9000/tcp"),
169169
wait.ForListeningPort("8123/tcp"),
170+
wait.ForHTTP("/").WithPort("8123/tcp"),
170171
).WithDeadline(time.Second * 120),
171172
Mounts: []testcontainers.ContainerMount{
172173
testcontainers.BindMount(path.Join(basePath, "./resources/custom.xml"), "/etc/clickhouse-server/config.d/custom.xml"),

0 commit comments

Comments
 (0)