Skip to content

Commit

Permalink
Merge pull request #1890 from fujimotos/sf/fix-random-failure-in-test…
Browse files Browse the repository at this point in the history
…-output

test: Fix random test failures at test/plugin/test_output.rb#L926
  • Loading branch information
repeatedly authored Mar 15, 2018
2 parents a12d368 + bd5eee3 commit 284a65e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/plugin/test_output.rb
Original file line number Diff line number Diff line change
Expand Up @@ -907,7 +907,8 @@ def waiting(seconds)

sub_test_case 'slow_flush_log_threshold' do
def invoke_slow_flush_log_threshold_test(i)
i.configure(config_element('ROOT', '', {'slow_flush_log_threshold' => 0.5}, [config_element('buffer', '', {"flush_mode" => "immediate"})]))
i.configure(config_element('ROOT', '', {'slow_flush_log_threshold' => 0.5},
[config_element('buffer', '', {"flush_mode" => "immediate", "flush_thread_interval" => 30})]))
i.start
i.after_start

Expand Down

0 comments on commit 284a65e

Please sign in to comment.