-
Notifications
You must be signed in to change notification settings - Fork 141
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
[#559] test: use withEnvironmentVariable to replace RssUtilsTest#setEnv #560
Conversation
262b7bb
to
10c0793
Compare
Codecov Report
@@ Coverage Diff @@
## master #560 +/- ##
============================================
- Coverage 60.87% 60.50% -0.37%
+ Complexity 1796 1567 -229
============================================
Files 213 191 -22
Lines 12372 10528 -1844
Branches 1050 886 -164
============================================
- Hits 7531 6370 -1161
+ Misses 4434 3793 -641
+ Partials 407 365 -42 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
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.
Thanks @advancedxy for the work. Some general questions here.
common/src/test/java/org/apache/uniffle/common/util/RssUtilsTest.java
Outdated
Show resolved
Hide resolved
storage/src/test/java/org/apache/uniffle/storage/EnvTestBase.java
Outdated
Show resolved
Hide resolved
server/src/test/java/org/apache/uniffle/server/ShuffleServerConfTest.java
Outdated
Show resolved
Hide resolved
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.
LGTM, thanks @advancedxy.
Merged, thanks @kaijchen |
What changes were proposed in this pull request?
replace
RssUtils.setEnv
bywithEnvironmentVariable
Why are the changes needed?
Better code quality. This fixes #559
Does this PR introduce any user-facing change?
No
How was this patch tested?
Existed UTs.