final TestWorker tw4 = new TestWorker("4", 50000);
final TestWorker tw5 = new TestWorker("5", 10);
assertThat(ci.mustExecute("foo", tw1), equalTo(false));
Thread.sleep(150); // give some time to worker to start
assertThat(ci.mustExecute("foo", tw2), equalTo(true));
Thread.sleep(150); // give some time to worker to start
assertThat(ci.mustExecute("foo", tw3), equalTo(true));
Thread.sleep(150); // give some time to worker to start
assertThat(ci.mustExecute("foo", tw4), equalTo(true));
Thread.sleep(150); // give some time to worker to start