Skip to content

test: Tests for sink forwarder using simple buffer backed ISBs#3282

Open
vaibhavtiwari33 wants to merge 11 commits intomainfrom
sink-forwarder-tests
Open

test: Tests for sink forwarder using simple buffer backed ISBs#3282
vaibhavtiwari33 wants to merge 11 commits intomainfrom
sink-forwarder-tests

Conversation

@vaibhavtiwari33
Copy link
Contributor

@vaibhavtiwari33 vaibhavtiwari33 commented Mar 1, 2026

What this PR does / why we need it

Tests for sink forwarder using simple buffer backed ISBs

Testing

This is the test

Signed-off-by: Vaibhav Tiwari <vaibhav.tiwari33@gmail.com>
@codecov
Copy link

codecov bot commented Mar 1, 2026

Codecov Report

❌ Patch coverage is 99.01961% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 81.23%. Comparing base (a485b6d) to head (eaba8d1).

Files with missing lines Patch % Lines
...flow-core/src/pipeline/forwarder/sink_forwarder.rs 99.01% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3282      +/-   ##
==========================================
+ Coverage   81.14%   81.23%   +0.08%     
==========================================
  Files         316      316              
  Lines       72841    73147     +306     
==========================================
+ Hits        59110    59422     +312     
+ Misses      13172    13168       -4     
+ Partials      559      557       -2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@vaibhavtiwari33 vaibhavtiwari33 self-assigned this Mar 2, 2026
@vaibhavtiwari33 vaibhavtiwari33 added the testing Testing and CI label Mar 2, 2026
Signed-off-by: Vaibhav Tiwari <vaibhav.tiwari33@gmail.com>
@vaibhavtiwari33 vaibhavtiwari33 marked this pull request as ready for review March 2, 2026 18:26
@vaibhavtiwari33 vaibhavtiwari33 marked this pull request as draft March 3, 2026 20:01
@vaibhavtiwari33 vaibhavtiwari33 marked this pull request as ready for review March 10, 2026 17:45
let forwarder_cln = cln_token.clone();
let forwarder_handle = tokio::spawn(async move { forwarder.start(forwarder_cln).await });

tokio::time::sleep(Duration::from_millis(500)).await;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this can be flaky, right?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

removed

.await;

// ISB Reader Orchestrator
let input_stream = Stream::new("sink-input-buffer", "test-in", 0);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The name of the simple buffer adaptor could be different from the stream itself IMO.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

testing Testing and CI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants