Commit 56c3a105 authored by Sebastien Robin's avatar Sebastien Robin

getLastJob expect the id of a jio instance, increase tick time to let job finishing

parent c07ac551
......@@ -765,8 +765,8 @@ test ("Restore old Jio", function() {
o.waitUntilAJobExists(30000); // timeout 30 sec
o.testLastJobLabel("put", "Job restored");
o.clock.tick(1000);
ok(getLastJob(typeof o.jio.getId()) === undefined, "Job executed");
o.clock.tick(2000);
ok(getLastJob(o.jio.getId()) === undefined, "Job executed");
o.clock.tick(1000);
o.jio.stop();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment