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

emit_count can be bigger than num_events #2894

Merged
merged 1 commit into from Mar 18, 2020

Conversation

ganmacs
Copy link
Member

@ganmacs ganmacs commented Mar 17, 2020

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

What this PR does / why we need it:

Fluent::Test::Driver#run assumes that it emits the mount of message bigger than expect_emits.

@run_post_conditions << ->(){ emit_count >= expect_emits }

Docs Changes:

no need

Release Note:

no need

@ganmacs ganmacs self-assigned this Mar 17, 2020
@ganmacs ganmacs merged commit 2b7ed60 into fluent:master Mar 18, 2020
@ganmacs ganmacs deleted the fix-unstable-test branch March 18, 2020 02:43
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

3 participants