You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Scoverage does a lot of file writing behind the scenes in order to track which statements have been executed.
97
+
If you are running into a scenario where your tests normally pass, but fail when scoverage is enabled, then the culprit can be one of the following:
96
98
97
-
If you are running into a scenario where your tests normally pass, but fail when scoverage is enabled,
98
-
then the most common culprit is timing issues on futures and other async operations. Scoverage does a lot of file
99
-
writing behind the scenes in order to track which statements have been executed, and this slows down tests slighly, so try upping the timeouts by an order of magnitude.
99
+
* timing issues on futures and other async operations, try upping the timeouts by an order of magnitude.
100
+
* tests are run in a sandbox mode (such as with `java.security.PrivilegedAction<T>`), try running the tests outside of the sandbox.
0 commit comments