Skip to content

Commit

Permalink
add --reload-cache to the hammer ping call
Browse files Browse the repository at this point in the history
this ensures that on upgrades hammer uses the new api definition
  • Loading branch information
evgeni committed Jul 19, 2021
1 parent 5730571 commit e247256
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bats/fb-test-foreman.bats
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ load foreman_helper

local next_wait_time=0
until [ "${status:-1}" -eq 0 -o $next_wait_time -eq 12 ]; do
run hammer ping
run hammer --reload-cache ping
[[ $status -eq 0 ]] || sleep $(( next_wait_time++ ))
done

Expand Down

0 comments on commit e247256

Please sign in to comment.