Commit 8569a618 authored by Tristan Cavelier's avatar Tristan Cavelier

jio job management tests also test when a job have to be removed

parent a41e2a18
...@@ -753,12 +753,11 @@ ...@@ -753,12 +753,11 @@
}, 'First Job ended, second still there'); }, 'First Job ended, second still there');
fakestorage['1 Job Manage/get'].success({"_id": "b", "c": "d"}); fakestorage['1 Job Manage/get'].success({"_id": "b", "c": "d"});
clock.tick(1);
fakestorage['2 Job Manage/get'].success({"_id": "c", "d": "e"}); fakestorage['2 Job Manage/get'].success({"_id": "c", "d": "e"});
clock.tick(1);
deepEqual(workspace, {}, 'No more job in the queue'); deepEqual(workspace, {}, 'No more job in the queue');
clock.tick(1); // success 1 and 2
}); });
/** /**
......
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