Skip to content

Commit abda241

Browse files
committed
Pause after volume creation in tests
1 parent 0b1588d commit abda241

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

test/volumes/resize-volumes.bats

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ teardown() {
2323
@test "it should fail to resize a volume smaller" {
2424
createVolume
2525
volume_id=$(linode-cli volumes list --text --no-headers --format="id")
26+
# we can't resize a busy volume; wait for a few seconds for the creation to finish
27+
sleep 5
2628
run linode-cli volumes resize $volume_id \
2729
--size=5 \
2830
--text \

0 commit comments

Comments
 (0)