lib/beaker/shared/repetition.rb in beaker-4.9.0 vs lib/beaker/shared/repetition.rb in beaker-4.10.0

- old
+ new

@@ -16,10 +16,10 @@ attempt = 1 last_wait, wait = 0, 1 while not done and attempt <= attempts do done = block.call attempt += 1 - sleep wait + sleep wait unless done last_wait, wait = wait, last_wait + wait end return done end end