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 TestNG integration for TESTS parallel mode #5305

Conversation

nikita-tkachenko-datadog
Copy link
Contributor

What Does This Do

Fixes Test NG integration for cases when parallel execution mode is set to tests and when XML configuration is used.

Motivation

There are clients who use CI Visibility with Test NG in tests parallel mode and with explicit XML configuration.

Additional Notes

When Test NG is configured explicitly using XML (rather than when Maven/Gradle plugins create an implicit XmlSuite instance), some of the assumptions made previously do not hold: it is possible to have multiple ITestClass instances for the same Java class and multiple ITestMethod instances for the same test case method.

@nikita-tkachenko-datadog nikita-tkachenko-datadog added comp: ci visibility Continuous Integration Visibility type: bug labels Jun 1, 2023
@nikita-tkachenko-datadog nikita-tkachenko-datadog changed the base branch from release/v1.5.x to release/v1.15.x June 1, 2023 14:57
@pr-commenter
Copy link

pr-commenter bot commented Jun 1, 2023

Benchmarks

Parameters

Baseline Candidate
commit 1.16.0-SNAPSHOT~8eaf125662 1.16.0-SNAPSHOT~151e8522f4
config baseline candidate
See matching parameters
Baseline Candidate
module Agent Agent
parent None None

Summary

Found 0 performance improvements and 0 performance regressions! Performance is the same for 22 cases.

@nikita-tkachenko-datadog nikita-tkachenko-datadog marked this pull request as ready for review June 1, 2023 15:25
@nikita-tkachenko-datadog nikita-tkachenko-datadog requested a review from a team as a code owner June 1, 2023 15:25
@smola smola added this to the 1.15.1 milestone Jun 1, 2023
@nikita-tkachenko-datadog nikita-tkachenko-datadog merged commit 286a25a into release/v1.15.x Jun 1, 2023
@nikita-tkachenko-datadog nikita-tkachenko-datadog deleted the nikita-tkachenko/testng-fix-release-v1.5.x branch June 1, 2023 15:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp: ci visibility Continuous Integration Visibility type: bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants