Commit Graph

541 Commits

Author SHA1 Message Date
Daniel García Aubert
4b04ccc222 Remove test that its functionality is no longer supported 2016-11-23 23:42:03 +01:00
Daniel García Aubert
4c3b56c529 Use batch test client for use case 8 2016-11-23 23:39:15 +01:00
Daniel García Aubert
c459303748 Use batch test client for use case 7 2016-11-23 23:33:30 +01:00
Daniel García Aubert
f89fb0e683 Remove test that its functionality is no longer supported 2016-11-23 23:30:01 +01:00
Daniel García Aubert
0176db54ac Use batch test client for use case 3 2016-11-23 23:23:34 +01:00
Daniel García Aubert
7be92d02d5 Use batch test client for use case 2 2016-11-23 23:23:24 +01:00
Daniel García Aubert
0e56942507 Use batch test client for use case 1 2016-11-23 23:23:14 +01:00
Daniel García Aubert
b76120c41b Use test bacth client 2016-11-23 20:47:18 +01:00
Daniel García Aubert
f7a41d3a0d Try to cancel a job 2016-11-23 20:46:19 +01:00
Daniel García Aubert
e29b35a98d Assert if error 2016-11-23 20:09:38 +01:00
Daniel García Aubert
e6bc22ee5d Fix jshint typo 2016-11-23 19:29:03 +01:00
Daniel García Aubert
86e9a3f122 Use batch client test for fallback suit test 2016-11-23 19:22:24 +01:00
Daniel García Aubert
5eca803fc8 Add support to get some specific job status 2016-11-23 19:20:44 +01:00
Daniel García Aubert
93a8fcc2f9 Make customizable timeout value for request 2016-11-23 12:30:16 +01:00
Daniel García Aubert
37b9eda6c3 Fix typo 2016-11-22 18:33:46 +01:00
Daniel García Aubert
23054034b4 Add mechanism to avoid infiniy request to check job status 2016-11-22 14:26:21 +01:00
Daniel García Aubert
bbe80f0810 Remove useless bacth service 2016-11-22 14:09:16 +01:00
Daniel García Aubert
687e6218b4 Make polling to check work-in-progress job 2016-11-22 14:06:32 +01:00
Daniel García Aubert
80798e2231 Skip test that use queue with assert.response 2016-11-22 12:52:26 +01:00
Daniel García Aubert
172c9d91e8 Set request timeout to 4sec 2016-11-22 11:54:22 +01:00
Daniel García Aubert
d152aa7ec9 Set request timeout to 5sec 2016-11-22 11:41:35 +01:00
Daniel García Aubert
549d7dcdf7 Remove skip 2016-11-22 11:37:35 +01:00
Daniel García Aubert
0f5a67833f Set default timeout for assert response to 4 sec 2016-11-21 18:29:46 +01:00
Daniel García Aubert
eb67994ba8 skip state dependant test 2016-11-21 18:17:22 +01:00
Daniel García Aubert
670633655e skip state dependant test 2016-11-21 17:44:27 +01:00
Daniel García Aubert
dba3fd24ec skip state dependant test 2016-11-21 17:27:57 +01:00
Daniel García Aubert
7faa78c3f4 skip state dependant test 2016-11-21 15:31:43 +01:00
Daniel García Aubert
78f5706726 Avoid to use scan command to search work in progress queues 2016-11-03 14:22:43 +01:00
Daniel García Aubert
802c93dcee Moved work in progress test 2016-11-02 13:03:22 +01:00
Daniel García Aubert
bd716867fa Revert last env test changes 2016-11-02 13:02:29 +01:00
Daniel García Aubert
041b69a1f6 Isolate failing test in CI 2016-11-02 12:47:29 +01:00
Daniel García Aubert
e459494123 Be more accurate on query sleep times 2016-11-02 11:39:05 +01:00
Daniel García Aubert
aa1527b371 Use clear work-in-progress after finishing jobs 2016-10-28 15:58:41 +02:00
Daniel García Aubert
4a64d37c6c Add work in progrees list endpoint 2016-10-28 15:08:42 +02:00
Daniel García Aubert
af75bbda50 Rename 2016-10-28 12:50:33 +02:00
Daniel García Aubert
1f657a4f94 Ensure test is isolated 2016-10-28 12:24:23 +02:00
Daniel García Aubert
0085b8ee3d List users with work in progress jobs 2016-10-27 20:42:49 +02:00
Daniel García Aubert
f65208ba0d Add listWorkInProgressJobByUser function 2016-10-27 18:43:28 +02:00
Daniel García Aubert
8f65e6b16c Add test 2016-10-27 18:24:39 +02:00
Raul Ochoa
16e9e709b8 Cancel with user statement_timeout limit from redis 2016-10-21 14:35:24 +02:00
Raul Ochoa
7563868514 Re-insert into the tree if there was a user in done state that gets a new task 2016-10-21 11:42:27 +02:00
Raul Ochoa
62cfe974b7 Use constants for users 2016-10-21 11:10:17 +02:00
Raul Ochoa
66a1c33f96 Simplify listener subscription logic
Always remove pending listeners on acquire call.
Always register add and release listeners on acquire.
2016-10-20 23:47:39 +02:00
Raul Ochoa
e4d54e9ab7 Fix condition to pick next candidate 2016-10-20 20:16:57 +02:00
Raul Ochoa
80d2e190ad Fix test, use fixed to replace one and infinity 2016-10-19 18:47:55 +02:00
Raul Ochoa
604e28533c Fix and improve test 2016-10-19 16:58:57 +02:00
Raul Ochoa
372c9f5511 Basic test to test scheduler happy case 2016-10-19 16:57:10 +02:00
Raul Ochoa
5030fddc9c Allow to override test client 2016-10-19 16:56:43 +02:00
Raul Ochoa
1ee0878631 Scheduler uses a red–black tree to decide on next job candidate 2016-10-19 16:55:49 +02:00
Raul Ochoa
2853c7b0a7 Fix status check 2016-10-19 10:36:27 +02:00