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

junouyang pushed a commit to branch chore/ci-minio-healthcheck
in repository https://gitbox.apache.org/repos/asf/incubator-opendal.git


The following commit(s) were added to refs/heads/chore/ci-minio-healthcheck by 
this push:
     new 03b50d7c6 chore(ci): fix code
03b50d7c6 is described below

commit 03b50d7c6fc628e0adece313798d8ecb6e495f59
Author: owl <[email protected]>
AuthorDate: Tue Aug 22 02:05:14 2023 +0800

    chore(ci): fix code
---
 .github/workflows/service_test_s3.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/service_test_s3.yml 
b/.github/workflows/service_test_s3.yml
index 675fc68e0..ccba8a5f1 100644
--- a/.github/workflows/service_test_s3.yml
+++ b/.github/workflows/service_test_s3.yml
@@ -154,7 +154,7 @@ jobs:
           ./mc anonymous set public local/test
           while :; do
             echo "waiting minio to be ready"
-            [[ ./mc ping ]] || break
+            [[ "$(./mc ping --count 1 local | awk '{print $6}' | tr -d '\n')" 
== "errors=1" ]] || break
             sleep 1
           done
       - name: Setup Rust toolchain

Reply via email to