Skip to content

Commit 2dd4765

Browse files
committed
Fix healthy check of oap.
1 parent 14c3dac commit 2dd4765

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/e2e/base/base-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ services:
2626
- e2e
2727
restart: on-failure
2828
healthcheck:
29-
test: ["CMD", "sh", "-c", "nc -zn 127.0.0.1 11800"]
29+
test: [ "CMD", "bash", "-c", "cat < /dev/null > /dev/tcp/127.0.0.1/11800" ]
3030
interval: 5s
3131
timeout: 60s
3232
retries: 120

0 commit comments

Comments
 (0)