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

[Execution] Add ingestion core tests #5871

Merged
merged 4 commits into from May 17, 2024
Merged

Conversation

zhangchiqing
Copy link
Member

@zhangchiqing zhangchiqing commented May 8, 2024

This PR adds test cases for ingestion core engine and metrics.

@codecov-commenter
Copy link

codecov-commenter commented May 8, 2024

Codecov Report

Attention: Patch coverage is 75.00000% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 55.79%. Comparing base (4f85bc2) to head (24f6536).
Report is 15 commits behind head on master.

Files Patch % Lines
engine/execution/ingestion/machine.go 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5871      +/-   ##
==========================================
+ Coverage   55.61%   55.79%   +0.17%     
==========================================
  Files        1128     1128              
  Lines       88951    88955       +4     
==========================================
+ Hits        49470    49629     +159     
+ Misses      34776    34590     -186     
- Partials     4705     4736      +31     
Flag Coverage Δ
unittests 55.79% <75.00%> (+0.17%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

type mockConsumer struct {
sync.Mutex
executed map[flow.Identifier]struct{}
wgs map[flow.Identifier]*sync.WaitGroup
Copy link
Member

Choose a reason for hiding this comment

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

should access to this be synced?

@zhangchiqing zhangchiqing added this pull request to the merge queue May 17, 2024
Merged via the queue into master with commit 7bf2b30 May 17, 2024
55 checks passed
@zhangchiqing zhangchiqing deleted the leo/add-ingestion-core-tests branch May 17, 2024 18:30
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

4 participants