diff --git a/tests/bats/test.bats b/tests/bats/test.bats index b6496771..5c0422e7 100644 --- a/tests/bats/test.bats +++ b/tests/bats/test.bats @@ -45,10 +45,10 @@ } @test "resize linear pvc" { - run kubectl apply -f files/pvc.linear.resize.yaml --wait --timeout=20s + run kubectl apply -f files/pvc.linear.resize.yaml --wait --timeout=30s [ "$status" -eq 0 ] - run kubectl wait --for=jsonpath='{.status.capacity.storage}'=200Mi -f files/pvc.linear.resize.yaml --timeout=20s + run kubectl wait --for=jsonpath='{.status.capacity.storage}'=200Mi -f files/pvc.linear.resize.yaml --timeout=30s [ "$status" -eq 0 ] } @@ -76,10 +76,10 @@ } @test "resize block pvc" { - run kubectl apply -f files/pvc.block.resize.yaml --wait --timeout=30s + run kubectl apply -f files/pvc.block.resize.yaml --wait --timeout=40s [ "$status" -eq 0 ] - run kubectl wait --for=jsonpath='{.status.capacity.storage}'=200Mi -f files/pvc.block.resize.yaml --timeout=30s + run kubectl wait --for=jsonpath='{.status.capacity.storage}'=200Mi -f files/pvc.block.resize.yaml --timeout=40s [ "$status" -eq 0 ] }