Skip to content

Commit

Permalink
Merge pull request #2901 from ganmacs/avoid-timeout
Browse files Browse the repository at this point in the history
Avoid timeout of retry state
  • Loading branch information
ganmacs committed Mar 23, 2020
2 parents 9d81e97 + d5fdd23 commit 5f56080
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
now = first_failure + 60 * 0.8 + 2 + [i, 10].min # must be less than retry_timeout
Timecop.freeze( now )
@i.flush_thread_wakeup

Expand Down

0 comments on commit 5f56080

Please sign in to comment.