sonatype/nexus — pull request #80 by cstamas (2011-11-17 16:00:59+00:00)
Title: Fix for pull request #73: properly handle task states for "is done" detection

Fix for pull request #73: properly handle task states for "is done" detection

"is done" in this scope means "did run at least once and is not running now".

What happened with previous code, is that it never returned true, hence the
waitForAllTasks was simply giving up after sleeping the given amount of time.
This was why ITs were running LONG.