Those clever guys at google wrote so code to help testing multithread behaviour:
http://code.google.com/p/thread-weaver/ Anyone tried this? I wonder if we could use this to avoid arbitrary sleeps that slow down our tests and potentially make them unstable? Regards, Mark.