Skip to content

test(core): fix flaky test control::source_flush#408

Merged
TheElectronWill merged 1 commit into
mainfrom
fix/core/flaky-source-control-test
Jun 8, 2026
Merged

test(core): fix flaky test control::source_flush#408
TheElectronWill merged 1 commit into
mainfrom
fix/core/flaky-source-control-test

Conversation

@TheElectronWill

Copy link
Copy Markdown
Member

No description provided.

The test incorrectly used the output `n_written` metric, but what we want to actually check is just the source flush (i.e. the transform input). The latency of the output is irrelevant, and made the test flaky.
@TheElectronWill TheElectronWill requested a review from a team June 5, 2026 12:11
Comment thread core/alumet/tests/control.rs
@TheElectronWill TheElectronWill merged commit 9b5be92 into main Jun 8, 2026
9 checks passed
@TheElectronWill TheElectronWill deleted the fix/core/flaky-source-control-test branch June 8, 2026 15:45
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