-
Notifications
You must be signed in to change notification settings - Fork 542
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
Replaced the creation of the temporary directory using the @TempDir JUnit annotation #2799
Replaced the creation of the temporary directory using the @TempDir JUnit annotation #2799
Conversation
Eclipse JKube CI ReportStarted new GH workflow run for #2799 (2024-03-11T22:02:51Z) ⚙️ JKube E2E Tests (8240160378)
|
@clarenced : Thanks for the PR! There are other occurences where |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #2799 +/- ##
=============================================
+ Coverage 59.36% 70.59% +11.23%
- Complexity 4586 5006 +420
=============================================
Files 500 486 -14
Lines 21211 19447 -1764
Branches 2830 2506 -324
=============================================
+ Hits 12591 13728 +1137
+ Misses 7370 4493 -2877
+ Partials 1250 1226 -24 ☔ View full report in Codecov by Sentry. |
Hi @rohanKanojia , are you asking to remove all those |
@clarenced : You're right. I was referring to those |
…ned as an attribute.
File dir = Files.createTempDirectory("d-m-p").toFile(); | ||
File ret = new File(dir, "Dockerfile"); | ||
try (OutputStream os = new FileOutputStream(ret)) { | ||
File ret = new File(tempDir, "Dockerfile"); |
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.
nit, indentation is slightly off here
|
@clarenced : Thanks a lot! |
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, thx!
Description
Fixes #2775
Replaced the creation of the temporary directory with the
@TempDir
JUnit annotationtest, version modification, documentation, etc.)
Checklist