-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
statistics: Add tests for MergePartTopN2GlobalTopN #45900
statistics: Add tests for MergePartTopN2GlobalTopN #45900
Conversation
Signed-off-by: hi-rustin <rustin.liu@gmail.com>
Signed-off-by: hi-rustin <rustin.liu@gmail.com>
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #45900 +/- ##
================================================
- Coverage 73.3609% 72.6773% -0.6837%
================================================
Files 1272 1298 +26
Lines 393070 399558 +6488
================================================
+ Hits 288360 290388 +2028
- Misses 86347 90709 +4362
- Partials 18363 18461 +98
Flags with carried forward coverage won't be shown. Click here to find out more.
|
Signed-off-by: hi-rustin <rustin.liu@gmail.com>
require.Len(t, leftTopN, 1, "should have 1 left topN") | ||
} | ||
|
||
func TestMergePartTopN2GlobalTopNWithHists(t *testing.T) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not sure if these TopNs and Hists make sense.
Signed-off-by: hi-rustin <rustin.liu@gmail.com>
Signed-off-by: hi-rustin <rustin.liu@gmail.com>
Signed-off-by: hi-rustin <rustin.liu@gmail.com>
Signed-off-by: hi-rustin <rustin.liu@gmail.com>
Before:
After: #45718
|
Signed-off-by: hi-rustin <rustin.liu@gmail.com>
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: hawkingrei, qw4990 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
[LGTM Timeline notifier]Timeline:
|
/retest |
2 similar comments
/retest |
/retest |
What problem does this PR solve?
Issue Number: ref #45899
Problem Summary:
What is changed and how it works?
Check List
Tests
Side effects
Documentation
Release note