diff --git a/test/plugin/test_output_as_buffered_secondary.rb b/test/plugin/test_output_as_buffered_secondary.rb index cdf16bce17..39ab06cc22 100644 --- a/test/plugin/test_output_as_buffered_secondary.rb +++ b/test/plugin/test_output_as_buffered_secondary.rb @@ -617,7 +617,7 @@ def dummy_event_stream assert{ !chunks[1].empty? } 30.times do |i| # large enough - now = first_failure + 60 * 0.8 + 2 + [i, 10].min # must be less than retry_timeout + now = first_failure + 60 * 0.8 + 2 + [i, 9].min # must be less than retry_timeout Timecop.freeze( now ) @i.flush_thread_wakeup