Sound interesting, our unit test on hand didn't cover this area.

On the other hand, maybe we can write our code in a thread safe way.
Then all exist tests can be reused in concurrent environment.

Is anyone familiar with this?

Best Regards
Sean, Xiao Xia Qiu



2009/11/13 Mark Hindess <mark.hind...@googlemail.com>

>
> 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.
>
>
>

Reply via email to