I believe this is wrong: the timer should start AFTER the new kieModule has been deployed in the repository. Doing so the test succeeds as expected.