Skip to content

Commit 46458b8

Browse files
committed
fix(jindo-e2e): wait longer for minio in CI
Signed-off-by: Harsh <harshmastic@gmail.com>
1 parent 4fe7d5b commit 46458b8

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

test/gha-e2e/jindo/test.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ function panic() {
1717

1818
function setup_minio() {
1919
kubectl create -f test/gha-e2e/jindo/minio.yaml
20-
minio_pod=$(kubectl get pod -oname | grep minio)
21-
kubectl wait --for=condition=Ready $minio_pod
20+
kubectl wait --for=condition=Ready --timeout=180s -l app=minio pod
2221

23-
kubectl exec -it $minio_pod -- /bin/bash -c 'mc alias set myminio http://127.0.0.1:9000 minioadmin minioadmin && mc mb myminio/mybucket && echo "helloworld" > testfile && mc mv testfile myminio/mybucket/subpath/testfile && mc cat myminio/mybucket/subpath/testfile'
22+
minio_pod=$(kubectl get pod -l app=minio -oname)
23+
kubectl exec $minio_pod -- /bin/bash -c 'mc alias set myminio http://127.0.0.1:9000 minioadmin minioadmin && mc mb myminio/mybucket && echo "helloworld" > testfile && mc mv testfile myminio/mybucket/subpath/testfile && mc cat myminio/mybucket/subpath/testfile'
2424
}
2525

2626
function create_dataset() {

0 commit comments

Comments
 (0)