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

[MINOR] test: untracked files created in ShuffleFlushManagerTest #745

Merged
merged 1 commit into from
Mar 22, 2023

Conversation

kaijchen
Copy link
Contributor

@kaijchen kaijchen commented Mar 21, 2023

What changes were proposed in this pull request?

Fix remoteStorage path in fallbackWrittenWhenMultiStorageManagerEnableTest

Why are the changes needed?

Untracked files created in fallbackWrittenWhenMultiStorageManagerEnableTest

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Before:

$ mvn test -Dtest=ShuffleFlushManagerTest#fallbackWrittenWhenMultiStorageManagerEnableTest
...
$ git status
On branch master
Your branch is up to date with 'origin/master'.

Untracked files:
  (use "git add <file>..." to include in what will be committed)
	server/test/

nothing added to commit but untracked files present (use "git add" to track)
$ ls server/test
fallbackWrittenWhenMultiStorageManagerEnableTest/

After:

$ mvn test -Dtest=ShuffleFlushManagerTest#fallbackWrittenWhenMultiStorageManagerEnableTest
...
$ git status
On branch fix-leak
nothing to commit, working tree clean

@kaijchen kaijchen requested a review from zuston March 21, 2023 06:08
@codecov-commenter
Copy link

codecov-commenter commented Mar 21, 2023

Codecov Report

Merging #745 (69698ad) into master (2cb22ff) will increase coverage by 2.21%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master     #745      +/-   ##
============================================
+ Coverage     60.65%   62.86%   +2.21%     
- Complexity     1897     1900       +3     
============================================
  Files           238      224      -14     
  Lines         13012    11053    -1959     
  Branches       1091     1091              
============================================
- Hits           7892     6949     -943     
+ Misses         4682     3725     -957     
+ Partials        438      379      -59     

see 17 files with indirect coverage changes

📣 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

@kaijchen kaijchen changed the title [MINOR] test: fix file leak in fallbackWrittenWhenMultiStorageManagerEnableTest [MINOR] test: untracked files created in ShuffleFlushManagerTest Mar 22, 2023
@kaijchen kaijchen merged commit 938ebe8 into apache:master Mar 22, 2023
@kaijchen kaijchen deleted the fix-leak branch March 22, 2023 09:15
xianjingfeng pushed a commit to xianjingfeng/incubator-uniffle that referenced this pull request Apr 5, 2023
…che#745)

### What changes were proposed in this pull request?

Fix remoteStorage path in fallbackWrittenWhenMultiStorageManagerEnableTest

### Why are the changes needed?

Untracked files created in fallbackWrittenWhenMultiStorageManagerEnableTest

### Does this PR introduce _any_ user-facing change?

No.

### How was this patch tested?

Before:

```console
$ mvn test -Dtest=ShuffleFlushManagerTest#fallbackWrittenWhenMultiStorageManagerEnableTest
...
$ git status
On branch master
Your branch is up to date with 'origin/master'.

Untracked files:
  (use "git add <file>..." to include in what will be committed)
	server/test/

nothing added to commit but untracked files present (use "git add" to track)
$ ls server/test
fallbackWrittenWhenMultiStorageManagerEnableTest/
```

After:

```console
$ mvn test -Dtest=ShuffleFlushManagerTest#fallbackWrittenWhenMultiStorageManagerEnableTest
...
$ git status
On branch fix-leak
nothing to commit, working tree clean
```
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