From 51b2aa0b811791747ad3b04a6be7a6fc4a4cab99 Mon Sep 17 00:00:00 2001 From: Valentin Knabel Date: Thu, 12 Sep 2024 15:36:45 +0200 Subject: [PATCH] test: change resize timeouts --- tests/bats/test.bats | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 ] }