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

Clean jandex index after test #12207

Merged
merged 1 commit into from
Sep 24, 2020
Merged

Clean jandex index after test #12207

merged 1 commit into from
Sep 24, 2020

Conversation

glefloch
Copy link
Member

This branch aims to remove the jandex index containing test in the shutdown hook.
This allow gradle test task to be up-to-date after the first run.

close #11406

@geoand
Copy link
Contributor

geoand commented Sep 23, 2020

Shoot... I just saw that I had a pending review on this one that I never finalized... Sorry about that!

@@ -261,6 +261,7 @@ public void close() throws IOException {
}
tm.close();
}
TestClassIndexer.removeIndex(requiredTestClass);
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we should catch and ignore any any exception here

@glefloch
Copy link
Member Author

@geoand no problem ;) just did the update.

Thanks to both of you for the review :)

Copy link
Contributor

@geoand geoand left a comment

Choose a reason for hiding this comment

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

Thanks!

@jaikiran jaikiran merged commit 4aaab0c into quarkusio:master Sep 24, 2020
@jaikiran jaikiran added this to the 1.9.0 - master milestone Sep 24, 2020
@glefloch glefloch deleted the fix/11406 branch September 24, 2020 08:57
@gsmet gsmet changed the title clean jandex index after test Clean jandex index after test Oct 7, 2020
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.

Gradle Test task with Quarkus is not always cached
4 participants