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

missed to delete the temp dir #12637

Merged
merged 2 commits into from
Mar 13, 2024
Merged

Conversation

klsince
Copy link
Contributor

@klsince klsince commented Mar 12, 2024

missed to delete the temp dir after finishing the tests. the other upsert test cases cleaned up the temp dir in tearDown()

@klsince klsince added the bugfix label Mar 12, 2024
@codecov-commenter
Copy link

codecov-commenter commented Mar 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 61.81%. Comparing base (59551e4) to head (a0e4a92).
Report is 125 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master   #12637      +/-   ##
============================================
+ Coverage     61.75%   61.81%   +0.05%     
+ Complexity      207      198       -9     
============================================
  Files          2436     2453      +17     
  Lines        133233   133864     +631     
  Branches      20636    20764     +128     
============================================
+ Hits          82274    82742     +468     
- Misses        44911    45012     +101     
- Partials       6048     6110      +62     
Flag Coverage Δ
custom-integration1 <0.01% <ø> (-0.01%) ⬇️
integration <0.01% <ø> (-0.01%) ⬇️
integration1 <0.01% <ø> (-0.01%) ⬇️
integration2 0.00% <ø> (ø)
java-11 61.77% <ø> (+0.06%) ⬆️
java-21 61.67% <ø> (+0.04%) ⬆️
skip-bytebuffers-false 61.80% <ø> (+0.05%) ⬆️
skip-bytebuffers-true 61.65% <ø> (+33.92%) ⬆️
temurin 61.81% <ø> (+0.05%) ⬆️
unittests 61.80% <ø> (+0.05%) ⬆️
unittests1 46.91% <ø> (+0.02%) ⬆️
unittests2 27.70% <ø> (-0.03%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@@ -346,7 +346,7 @@ protected void stopServer() {
for (BaseServerStarter serverStarter : _serverStarters) {
serverStarter.stop();
}
FileUtils.deleteQuietly(new File(_baseInstanceDataDir + File.separator + "PinotServer"));
FileUtils.deleteQuietly(new File(_baseInstanceDataDir));
Copy link
Contributor Author

@klsince klsince Mar 12, 2024

Choose a reason for hiding this comment

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

otherwise, we'll see a lot of <tmpDir>/<timestamp> folders left in system temp dir

@Jackie-Jiang Jackie-Jiang merged commit 394922e into apache:master Mar 13, 2024
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants