i would sugget to remove try-catch there and declare "throws InterruptedException" in the test method declaration instead.