Skip to content

Commit fe01317

Browse files
committed
Try to fix tests
1 parent 18664db commit fe01317

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

docker-compose-tests.yaml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ services:
1818
volumes:
1919
- ./tests_override.xml:/bitnami/clickhouse/etc/conf.d/override.xml:ro
2020
healthcheck:
21-
test: ["CMD-SHELL", "nc -z localhost 9123 || exit 1"]
22-
interval: 5s
23-
timeout: 3s
24-
retries: 5
25-
start_period: 10s
21+
test: ["CMD-SHELL", "sleep 15"]
22+
interval: 15s
23+
timeout: 1s
24+
retries: 1
25+
start_period: 0s
2626

2727
mysql_db:
2828
image: mysql:8.4.3
@@ -37,11 +37,11 @@ services:
3737
networks:
3838
- default
3939
healthcheck:
40-
test: ["CMD-SHELL", "nc -z localhost 3306 || exit 1"]
41-
interval: 5s
42-
timeout: 3s
43-
retries: 5
44-
start_period: 10s
40+
test: ["CMD-SHELL", "sleep 15"]
41+
interval: 15s
42+
timeout: 1s
43+
retries: 1
44+
start_period: 0s
4545

4646
mariadb_db:
4747
image: mariadb:11.5.2
@@ -56,11 +56,11 @@ services:
5656
volumes:
5757
- ./test_mariadb.cnf:/etc/mysql/my.cnf:ro # Adjust path to MariaDB config location if needed
5858
healthcheck:
59-
test: ["CMD-SHELL", "nc -z localhost 3306 || exit 1"]
60-
interval: 5s
61-
timeout: 3s
62-
retries: 5
63-
start_period: 10s
59+
test: ["CMD-SHELL", "sleep 15"]
60+
interval: 15s
61+
timeout: 1s
62+
retries: 1
63+
start_period: 0s
6464

6565
replicator:
6666
build:

0 commit comments

Comments
 (0)