Skip to content

Commit 18664db

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

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docker-compose-tests.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ services:
1818
volumes:
1919
- ./tests_override.xml:/bitnami/clickhouse/etc/conf.d/override.xml:ro
2020
healthcheck:
21-
test: ["CMD-SHELL", "curl -s -f http://localhost:9123/ping || exit 1"]
21+
test: ["CMD-SHELL", "nc -z localhost 9123 || exit 1"]
2222
interval: 5s
2323
timeout: 3s
2424
retries: 5
@@ -37,7 +37,7 @@ services:
3737
networks:
3838
- default
3939
healthcheck:
40-
test: ["CMD-SHELL", "mysql -h localhost -u root -padmin -e 'SELECT 1' || exit 1"]
40+
test: ["CMD-SHELL", "nc -z localhost 3306 || exit 1"]
4141
interval: 5s
4242
timeout: 3s
4343
retries: 5
@@ -56,7 +56,7 @@ 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", "mysql -h localhost -u root -padmin -e 'SELECT 1' || exit 1"]
59+
test: ["CMD-SHELL", "nc -z localhost 3306 || exit 1"]
6060
interval: 5s
6161
timeout: 3s
6262
retries: 5

0 commit comments

Comments
 (0)