-
Notifications
You must be signed in to change notification settings - Fork 11
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
Digma makes my tests fail (Mockito) #81
Comments
Hi! We found this issue with a few other users, there is an easy solution to it luckily. From the thread: Let me know if this solves your issue! |
Thanks @doppleware Setting |
Yes we will make that recommendation to the OTEL team, in the meantime, we are considering setting this flag ourselves on any run if Digma observability is enabled. |
Describe the bug
I started with a green test suite.
I installed digma and ran the test suite.
Some tests suddenly fail with:
So I disabled the Digma plugin, restarted IDEA and ran it again. Still failing. Stopped the containers - still failing.
It took me a moment to realize that Digma edited my Run Configurations (without telling me) and added some java tooling options. I deleted them and my tests are green again.
To Reproduce
Sadly, I'm not quite sure. Some tests using Mockito (4.11.0) still work with Digma enabled, others don't.
Expected behavior
Screenshots
Can make some if required.
Plugin version
2.0.187+232
Additional context
It's an old java 8 project using ant.
The text was updated successfully, but these errors were encountered: