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

Remove unnecessary timeout to fix unstable test #2946

Merged
merged 1 commit into from
Apr 13, 2020

Conversation

ganmacs
Copy link
Member

@ganmacs ganmacs commented Apr 13, 2020

Which issue(s) this PR fixes:
Fix https://travis-ci.org/github/fluent/fluentd/jobs/674236542#L752

What this PR does / why we need it:

if timeout is given, the breaking condition is set.

@run_breaking_conditions << ->(){ Fluent::Clock.now >= stop_at }

if breaking condition is true, it passed without errors. So timeout must be removed.

if @run_breaking_conditions.any? {|proc| proc.call }

Docs Changes:

no need

Release Note:

same as title

@ganmacs ganmacs requested review from repeatedly and cosmo0920 April 13, 2020 03:30
@ganmacs ganmacs self-assigned this Apr 13, 2020
@ganmacs ganmacs force-pushed the remove-unnecessary-timeout branch from 8e63bf6 to e063f89 Compare April 13, 2020 03:42
@ganmacs ganmacs merged commit 76de5c7 into fluent:master Apr 13, 2020
@ganmacs ganmacs deleted the remove-unnecessary-timeout branch April 13, 2020 06:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants