-
Notifications
You must be signed in to change notification settings - Fork 566
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
4.x: WithSpanWithExplicitAppTest fails (always) on local machine #8249
Comments
The following fixes the test (running each test in its own VM): <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<reuseForks>false</reuseForks>
</configuration>
</plugin> |
So the problem is definitely interference between tests. |
I was seeing failures in the pipeline but not locally. Recent telemetry-related PRs have resolved this for me. Can you please fetch |
@tomas-langer Do you still see the problem after the merge of the PR I mentioned earlier? |
Works on command line, still fails when I run all the tests in IDE (ie. all tests in package) - this may be that the IDE does not honor the exact configuration in pom file. |
When I switch to a fork mode with fork per method, it works in IDE as well (my original workaround) |
The following config exists in pom:
Yet I have this test failing on local machine consistently (tried 10 times, could not pass it). Maybe there is a real problem with the test, not an intermittent issue...
Could reproduce when running from IDE - the test passes if run as a single test, but fails if run with other tests in the package.
Failures:
The text was updated successfully, but these errors were encountered: