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

Avoid using test groups for test ordering #649

Merged
merged 1 commit into from
Oct 3, 2024

Conversation

Ladicek
Copy link
Contributor

@Ladicek Ladicek commented Sep 11, 2024

Test groups are global, not just for single test. This means that multiple test classes may be "in progress" at the same time, which leads to issues in at least one implementation which has global state.

Instead of test groups and dependsOnGroups, this commit uses simple dependsOnMethods, which is local to the test class.

Test groups are global, not just for single test. This means that multiple
test classes may be "in progress" at the same time, which leads to issues
in at least one implementation which has global state.

Instead of test groups and `dependsOnGroups`, this commit uses simple
`dependsOnMethods`, which is local to the test class.
@Ladicek
Copy link
Contributor Author

Ladicek commented Sep 11, 2024

I'd love this to be released in 4.1.1, which should be OK I think?

@eclipse-microprofile-bot
Copy link
Contributor

Can one of the admins verify this patch?

@Azquelt
Copy link
Member

Azquelt commented Sep 11, 2024

I can confirm that I can see the same behaviour running on OpenLiberty - the chronological results view shows the testMetricUnits from each class running at the end after all the others. The relevant test applications remain deployed while other tests are running.

@Azquelt
Copy link
Member

Azquelt commented Sep 11, 2024

@eclipse-microprofile-bot test this please

@Ladicek
Copy link
Contributor Author

Ladicek commented Oct 3, 2024

Bump, any updates here?

Copy link
Member

@Emily-Jiang Emily-Jiang left a comment

Choose a reason for hiding this comment

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

LGTM

@Emily-Jiang Emily-Jiang merged commit 62b7b55 into eclipse:main Oct 3, 2024
4 checks passed
@Emily-Jiang
Copy link
Member

Bump, any updates here?

Sorry for the delay! Merged

@Ladicek
Copy link
Contributor Author

Ladicek commented Oct 3, 2024

Thanks!

@Ladicek Ladicek deleted the fix-telemetry-metrics-tests branch October 3, 2024 12:35
@Ladicek
Copy link
Contributor Author

Ladicek commented Oct 8, 2024

Can we please get a MP FT 4.1.1 release with this? The main branch doesn't contain anything else, so I think that should be safe? Or is there an organizational issue?

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.

4 participants