Just propage the InterruptedException; don't catch it. Junit will take care of that exception by failing the test.