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
In a situation where something like JUnit's ParallelComputer were used, or where other test runners were parallelising the construction of test classes run with the Spectrum runner, the fact that the test class construction happens inside a synchronized block will constrain the execution time.
This is relatively easy to fix. It's in a synchronized block to protect a stack from being bombarded by different threads. By introducing a thread-independent singleton into the mix, this will become thread-safe. This is what I propose to do.
The text was updated successfully, but these errors were encountered:
In a situation where something like JUnit's
ParallelComputer
were used, or where other test runners were parallelising the construction of test classes run with theSpectrum
runner, the fact that the test class construction happens inside a synchronized block will constrain the execution time.This is relatively easy to fix. It's in a synchronized block to protect a stack from being bombarded by different threads. By introducing a thread-independent singleton into the mix, this will become thread-safe. This is what I propose to do.
The text was updated successfully, but these errors were encountered: