Skip to content

Commit

Permalink
test: resize timeouts
Browse files Browse the repository at this point in the history
  • Loading branch information
vknabel committed Sep 12, 2024
1 parent ff5e992 commit d6cf790
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/bats/test.bats
Original file line number Diff line number Diff line change
Expand Up @@ -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 ]
}

Expand Down Expand Up @@ -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 ]
}

Expand Down

0 comments on commit d6cf790

Please sign in to comment.