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 unstable test #2939

Merged
merged 2 commits into from Apr 9, 2020
Merged

Fix unstable test #2939

merged 2 commits into from Apr 9, 2020

Conversation

ganmacs
Copy link
Member

@ganmacs ganmacs commented Apr 8, 2020

Which issue(s) this PR fixes:
Fixes https://travis-ci.org/github/fluent/fluentd/jobs/671460800#L624

What this PR does / why we need it:

wait until next interval

state.cond_var.wait(state.mutex, interval) if interval > 0

Docs Changes:

no need

Release Note:

no need

Signed-off-by: Yuta Iwama <ganmacs@gmail.com>
@ganmacs ganmacs self-assigned this Apr 8, 2020
@ganmacs ganmacs merged commit 2d50f34 into fluent:master Apr 9, 2020
@ganmacs ganmacs deleted the fix-unstable-test branch April 9, 2020 02:58
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.

None yet

2 participants