Skip to content

emit_count can be bigger than num_events#2894

Merged
ganmacs merged 1 commit into
fluent:masterfrom
ganmacs:fix-unstable-test
Mar 18, 2020
Merged

emit_count can be bigger than num_events#2894
ganmacs merged 1 commit into
fluent:masterfrom
ganmacs:fix-unstable-test

Conversation

@ganmacs

@ganmacs ganmacs commented Mar 17, 2020

Copy link
Copy Markdown
Member

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 requested review from cosmo0920 and repeatedly March 17, 2020 07:37
@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.

3 participants