Skip to content

Commit 87f68de

Browse files
committed
fix flaky test_database_hms
1 parent 439a651 commit 87f68de

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

tests/integration/compose/docker_compose_iceberg_hms_catalog.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
services:
22
spark-iceberg:
33
image: tabulario/spark-iceberg
4-
container_name: spark-iceberg
54
build: spark/
65
depends_on:
76
hive:
@@ -19,19 +18,21 @@ services:
1918

2019
hive:
2120
build: ./../../hms_extensions/
22-
container_name: hive
2321
restart: unless-stopped
22+
depends_on:
23+
minio:
24+
condition: service_started
2425
ports:
2526
- "9083:9083"
2627
environment:
2728
SERVICE_NAME: "metastore"
2829
SERVICE_OPTS: "-Dmetastore.warehouse.dir=s3a://warehouse/data/"
2930
healthcheck:
3031
test: ["CMD", "bash", "-c", "echo > /dev/tcp/localhost/9083"]
31-
interval: 1s
32+
interval: 2s
3233
timeout: 5s
33-
retries: 10
34-
start_period: 30s
34+
retries: 15
35+
start_period: 45s
3536

3637
minio:
3738
image: minio/minio
@@ -52,7 +53,6 @@ services:
5253
depends_on:
5354
- minio
5455
image: minio/mc
55-
container_name: mc
5656
environment:
5757
- AWS_ACCESS_KEY_ID=minio
5858
- AWS_SECRET_ACCESS_KEY=minio123

tests/integration/compose/docker_compose_iceberg_rest_catalog.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
services:
22
spark-iceberg:
33
image: tabulario/spark-iceberg
4-
container_name: spark-iceberg
54
build: spark/
65
depends_on:
76
rest:
@@ -51,7 +50,6 @@ services:
5150
depends_on:
5251
- minio
5352
image: minio/mc
54-
container_name: mc
5553
environment:
5654
- AWS_ACCESS_KEY_ID=minio
5755
- AWS_SECRET_ACCESS_KEY=ClickHouse_Minio_P@ssw0rd

0 commit comments

Comments
 (0)