Skip to content

Use JUnit TemporaryFolder rule in CompressArchiveUtilTest#1210

Merged
KostyaSha merged 1 commit intodocker-java:masterfrom
hugares:use-junit-temp-folder-rule
Jul 5, 2019
Merged

Use JUnit TemporaryFolder rule in CompressArchiveUtilTest#1210
KostyaSha merged 1 commit intodocker-java:masterfrom
hugares:use-junit-temp-folder-rule

Conversation

@hugares
Copy link
Copy Markdown
Contributor

@hugares hugares commented Jul 5, 2019

Instead of delete files created by the test, make use of JUnit
TemporaryFolder rule which does exatly that. Not only it simplify the
code but also fixes the issue that files where not delete when test was
failing.


This change is Reviewable

Instead of delete files created by the test, make use of JUnit
TemporaryFolder rule which does exatly that. Not only it simplify the
code but also fixes the issue that files where not delete when test was
failing.
@hugares
Copy link
Copy Markdown
Contributor Author

hugares commented Jul 5, 2019

The tests failing in CI are not related to my change. It looks like the CI environment have left overs from previous test execution causing the failures

@KostyaSha KostyaSha merged commit 97b7dfa into docker-java:master Jul 5, 2019
@KostyaSha
Copy link
Copy Markdown
Member

Thanks

@hugares hugares deleted the use-junit-temp-folder-rule branch July 8, 2019 12:13
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.

2 participants