Skip to content

Commit

Permalink
test: wait_for_clean() fix broken TENTH_TIMEOUT calculation
Browse files Browse the repository at this point in the history
Caused by: f3def4a

Signed-off-by: David Zafman <dzafman@redhat.com>
  • Loading branch information
dzafman committed Nov 19, 2016
1 parent d1b185c commit e0ed147
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qa/workunits/ceph-helpers.sh
Expand Up @@ -1088,7 +1088,7 @@ function wait_for_clean() {
local -i phase=0
local num_pgs=$(get_num_pgs)
test $num_pgs != 0 || return 1
local TENTH_TIMEOUT=($TIMEOUT * 10)
local TENTH_TIMEOUT=$(($TIMEOUT * 10))
# The first phase 10 times (1 second) second phase an additional 15 times (15 seconds)
local backoff_phases=( 10 15 -1 )
local sleep_backoff=( .1 1 10)
Expand Down

0 comments on commit e0ed147

Please sign in to comment.