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

[FLINK-34127] Upgrade to flink-connector-parent 1.1.0 to exclude runn… #98

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mas-chen
Copy link
Contributor

…ing nested unit tests

The root cause of the duplicate nested test execution is noted in this github issue: junit-team/junit5#3782. TLDR, the outer test runs once (running all its nested tests), then the nested tests run again due to the include test regex.

Surefire also excludes nested tests by default. https://maven.apache.org/surefire/maven-surefire-plugin/test-mojo.html

I have tested this approach in mas-chen#8 and realized that excluding tests was only available from 1.1.0 of the parent pom.

@mas-chen
Copy link
Contributor Author

This shaves 1-2 minutes from CI

@mas-chen mas-chen force-pushed the FLINK-34127-new branch 2 times, most recently from 2566dab to e11942e Compare April 26, 2024 02:23
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.

1 participant