Skip to content

Commit

Permalink
Merge pull request #2907 from ganmacs/follow-up-2901
Browse files Browse the repository at this point in the history
60 * 0.8 + 2 * i should be less than retry_state
  • Loading branch information
ganmacs authored Mar 24, 2020
2 parents 1ba383f + 1880d55 commit 02d503d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/plugin/test_output_as_buffered_secondary.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 02d503d

Please sign in to comment.