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

Fix unit test on single file being reported as integration test GH4587 #5912

Merged
merged 1 commit into from
May 3, 2023

Conversation

neilcsmith-net
Copy link
Member

Fix unit test on single file being reported as integration test in some cases.

Change isIntegrationTestTarget to use extractFileObjectsfromLookup() as missing DataObject conversion, and make sure an empty list returns false (due to use of allMatch on empty stream).

Fixes #4587

…me cases (GH4587)

Change isIntegrationTestTarget to use extractFileObjectsfromLookup() as missing DataObject
conversion, and make sure an empty list returns false (due to use of allMatch on empty stream).
@neilcsmith-net neilcsmith-net added the Maven [ci] enable "build tools" tests label May 3, 2023
@neilcsmith-net neilcsmith-net requested review from ebarboni and mbien May 3, 2023 09:38
@mbien mbien linked an issue May 3, 2023 that may be closed by this pull request
@mbien
Copy link
Member

mbien commented May 3, 2023

(adding the triage label and removing it again fixes the problem for me when github doesn't want to link the issue with the PR. Worked on two PRs already.)

@neilcsmith-net
Copy link
Member Author

@mbien Thanks. I wondered about the extra labelling! 😄 Just adding the Fixes XXX text in the description or commit should have the same effect, although it would be good if the sidebar picked that up. And anything merging into delivery needs manual closing anyway as it's not the default branch.

@neilcsmith-net neilcsmith-net added this to the NB18 milestone May 3, 2023
@apache apache locked and limited conversation to collaborators May 3, 2023
@apache apache unlocked this conversation May 3, 2023
@neilcsmith-net neilcsmith-net merged commit 52cb43c into apache:delivery May 3, 2023
@neilcsmith-net neilcsmith-net deleted the gh4587 branch January 16, 2024 09:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Maven [ci] enable "build tools" tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unit test on single file is converted to integration test
2 participants