This is an automated email from the ASF dual-hosted git repository.

morningman pushed a commit to branch branch-3.0
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/branch-3.0 by this push:
     new a70a6b77a5d branch-3.0: [fix](test) Optimize the health check after 
oceanbase docker starts #46434 (#46598)
a70a6b77a5d is described below

commit a70a6b77a5df59077910a3e184d79bc01030d859
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Fri Jan 10 10:35:31 2025 +0800

    branch-3.0: [fix](test) Optimize the health check after oceanbase docker 
starts #46434 (#46598)
    
    Cherry-picked from #46434
    
    Co-authored-by: zy-kkk <zhongy...@gmail.com>
---
 docker/thirdparties/docker-compose/oceanbase/oceanbase.yaml.tpl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docker/thirdparties/docker-compose/oceanbase/oceanbase.yaml.tpl 
b/docker/thirdparties/docker-compose/oceanbase/oceanbase.yaml.tpl
index 6dc507bcec6..e4f00a6a115 100644
--- a/docker/thirdparties/docker-compose/oceanbase/oceanbase.yaml.tpl
+++ b/docker/thirdparties/docker-compose/oceanbase/oceanbase.yaml.tpl
@@ -28,7 +28,7 @@ services:
     ports:
       - ${DOCKER_OCEANBASE_EXTERNAL_PORT}:2881
     healthcheck:
-      test: ["CMD-SHELL", "obclient -h127.1 -uroot@sys -P2881  -e 'SELECT 1'"]
+      test: ["CMD-SHELL", "obclient -h127.1 -P2881 -uroot@test -e 'SELECT * 
FROM doris_test.all_types limit 1'"]
       interval: 5s
       timeout: 60s
       retries: 120


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to