mirror of
https://github.com/corda/corda.git
synced 2025-02-01 08:48:09 +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.