Skip to content
This repository has been archived by the owner on Mar 19, 2021. It is now read-only.

Commit

Permalink
Adding a sleep to fix race condition
Browse files Browse the repository at this point in the history
Before, the check was too fast before the
purge really happened
  • Loading branch information
pstorz committed Jun 24, 2014
1 parent d485685 commit 286250f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/action-on-purge-test
Expand Up @@ -119,6 +119,8 @@ fi
echo "purge volume action storage=File" > $tmp/bconcmds
run_bconsole

sleep 1;

perl -Mscripts::functions -e '
check_min_volume_size(4096, "TestVolume002", "TestVolume005");
check_max_volume_size(4096, "TestVolume001", "TestVolume003", "TestVolume004")'
Expand Down

0 comments on commit 286250f

Please sign in to comment.