Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix an unstable test for ack response of out_forward #3313

Merged
merged 1 commit into from
Apr 1, 2021

Commits on Apr 1, 2021

  1. Fix an unstable test for ack response of out_forward

    It fixes the following error:
    
      Error: test: a node supporting responses after stop(ForwardOutputTest): Fluent::Test::Driver::TestTimedOut: Test case timed out with hard limit.
      /home/runner/work/fluentd/fluentd/lib/fluent/test/driver/base.rb:201:in `rescue in run_actual'
      /home/runner/work/fluentd/fluentd/lib/fluent/test/driver/base.rb:196:in `run_actual'
      /home/runner/work/fluentd/fluentd/lib/fluent/test/driver/base.rb:95:in `run'
      /home/runner/work/fluentd/fluentd/lib/fluent/test/driver/base_owner.rb:130:in `run'
      /home/runner/work/fluentd/fluentd/test/plugin/test_out_forward.rb:651:in `block in <class:ForwardOutputTest>'
    
    In addition, add a timeout and an assertion to help investigating on
    failure/error cases.
    
    Signed-off-by: Takuro Ashie <ashie@clear-code.com>
    ashie committed Apr 1, 2021
    Configuration menu
    Copy the full SHA
    22a3e14 View commit details
    Browse the repository at this point in the history