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 more test cases on LocalStorageManager.selectStorage #298

Merged
merged 1 commit into from
Nov 5, 2022

Conversation

zuston
Copy link
Member

@zuston zuston commented Nov 5, 2022

What changes were proposed in this pull request?

Add more test cases on LocalStorageManager.selectStorage

Why are the changes needed?

Currently, the method of LocalStorageManager.selectStorage lacks unit tests, which should be handle with care as storage corruption is involved

Does this PR introduce any user-facing change?

No

How was this patch tested?

Dont need

@zuston
Copy link
Member Author

zuston commented Nov 5, 2022

@jerqi PTAL.

@codecov-commenter
Copy link

codecov-commenter commented Nov 5, 2022

Codecov Report

Merging #298 (c7aa480) into master (c69f173) will increase coverage by 0.19%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master     #298      +/-   ##
============================================
+ Coverage     60.51%   60.71%   +0.19%     
- Complexity     1427     1436       +9     
============================================
  Files           175      175              
  Lines          9087     9087              
  Branches        874      874              
============================================
+ Hits           5499     5517      +18     
+ Misses         3295     3281      -14     
+ Partials        293      289       -4     
Impacted Files Coverage Δ
...he/uniffle/server/storage/LocalStorageManager.java 91.59% <0.00%> (+13.44%) ⬆️
...rg/apache/uniffle/server/ShuffleDataReadEvent.java 100.00% <0.00%> (+25.00%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Copy link
Contributor

@jerqi jerqi left a comment

Choose a reason for hiding this comment

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

LGTM, thanks @zuston

@jerqi jerqi merged commit b96fdfd into apache:master Nov 5, 2022
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

3 participants