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

add unit test for function (#708) #733

Merged
merged 2 commits into from
Aug 6, 2023
Merged

Conversation

csynineyang
Copy link
Contributor

What this PR does:

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

Does this PR introduce a user-facing change?:


@codecov-commenter
Copy link

codecov-commenter commented Aug 4, 2023

Codecov Report

Patch coverage has no change and project coverage change: +0.25% 🎉

Comparison is base (33f2907) 36.41% compared to head (3da7bdd) 36.67%.

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #733      +/-   ##
==========================================
+ Coverage   36.41%   36.67%   +0.25%     
==========================================
  Files         247      247              
  Lines       26157    26157              
==========================================
+ Hits         9526     9594      +68     
+ Misses      15600    15518      -82     
- Partials     1031     1045      +14     

see 5 files with indirect coverage changes

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

@csynineyang
Copy link
Contributor Author

github.com/arana-db/arana/pkg/dataset/chain.go (100.0%)
github.com/arana-db/arana/pkg/dataset/filter.go (81.0%)
github.com/arana-db/arana/pkg/dataset/fuse.go (53.5%)
github.com/arana-db/arana/pkg/dataset/group_reduce.go (57.6%)
github.com/arana-db/arana/pkg/dataset/ordered.go (76.9%)
github.com/arana-db/arana/pkg/dataset/parallel.go (65.2%)
github.com/arana-db/arana/pkg/dataset/priority_queue.go (86.4%)
github.com/arana-db/arana/pkg/dataset/reduce.go (76.2%)
github.com/arana-db/arana/pkg/dataset/sort_merge_join.go (77.8%)
github.com/arana-db/arana/pkg/dataset/transform.go (72.2%)
github.com/arana-db/arana/pkg/dataset/virtual.go (100.0%)

pkg/dataset/reduce_test.go Show resolved Hide resolved
@dongzl dongzl added the test Unit test. label Aug 5, 2023
@dongzl dongzl added this to the 0.2.0 milestone Aug 5, 2023
@sonarcloud
Copy link

sonarcloud bot commented Aug 5, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
2.0% 2.0% Duplication

@dongzl dongzl merged commit 3ea47a2 into arana-db:master Aug 6, 2023
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test Unit test.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants