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

1.7.0.Final quarkus.package.output-directory causes NPE running tests #11626

Merged
merged 1 commit into from Aug 27, 2020

Conversation

aloubyansky
Copy link
Member

Fixes #11400

outputDir = projectRoot.resolve(projectRoot.relativize(testClassLocation).getName(0));
} catch (Exception e) {
// this shouldn't happen since testClassLocation is usually found under the project dir
outputDir = projectRoot;
Copy link
Contributor

Choose a reason for hiding this comment

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

It would be nice to log.debug this exception, just in case

Copy link
Member Author

Choose a reason for hiding this comment

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

I am not sure it's worth it. It would mean the project has an usual layout and if so, the user is very much aware of that w/o us logging stacktraces. There is a lot of garbage in the debug output w/o it. Second, this outputDir for QuarkusTest's isn't normally used at all, we are not packaging anything.

@gsmet gsmet added this to the 1.8.0 - master milestone Aug 26, 2020
@gsmet
Copy link
Member

gsmet commented Aug 27, 2020

@aloubyansky I saw you force pushed a few times, is this one ready to go in?

@aloubyansky
Copy link
Member Author

Yes, i did that just to restart the CI hoping it'd pass.

@gsmet gsmet merged commit 8f72845 into quarkusio:master Aug 27, 2020
@gsmet
Copy link
Member

gsmet commented Aug 27, 2020

Yeah, no need for that, it won't, unfortunately.

@gsmet gsmet modified the milestones: 1.8.0 - master, 1.7.2.Final Sep 1, 2020
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.

1.7.0.Final quarkus.package.output-directory causes NPE running tests
3 participants