sonatype/nexus — pull request #534 by nabcos (2012-09-06 11:56:45+00:00)
Title: o ]rewrite IT to be more reliable

The IT was running three tasks, then checking once whether one was sleeping and
then just waited for all tasks to be in the default state.

Now it's running three tasks, waits until one is sleeping (failing only
after 10s), then waits for completion of all tasks and asserts that they
actually ran after they were created.

It is still possible for this IT to fail without cause if the tasks are finishing too fast, so that no task will end up sleeping (because it can just start immediately).