mirror of
https://github.com/corda/corda.git
synced 2025-01-31 16:35:43 +00:00
944e223335
Thread.yield is not enough to ensure that the tracing thread does not starve the test thread on some QEMU VMs, so we use wait/notifyAll to make sure both threads have opportunities to run and the test actually finishes.