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

clearing temp directories from CodegenIgnoreProcessorTest #9568

Merged
merged 2 commits into from
Jul 23, 2019

Conversation

oleksabor
Copy link
Contributor

Description of the PR

seems that

@AfterTest
    public void afterTest() throws IOException {

is executed only once. But there are a lot of CodegenIgnoreProcessorTest instances. This causes only one temp directory to be deleted. I see a lot of test temp directories like CodegenIgnoreProcessorTest3682269276225257646 after test is finished.

It would be nice to clean those folders
I've found only one way - to add static queue and poll it in the afterTest

I've tried it locally and found that all CodegenIgnoreProcessorTest temp folders are removed.

@HugoMario HugoMario merged commit 6f7f156 into swagger-api:master Jul 23, 2019
@HugoMario
Copy link
Contributor

thanks a lot @oleksabor !!

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