Commit Graph

34 Commits

Author SHA1 Message Date
Alex Dadgar
ff6028bd56 Test task failure killing TG and fix setting the task as received on a restore 2016-03-25 12:51:40 -07:00
Alex Dadgar
73419c2691 kill tasks in alloc when one fails 2016-03-25 12:50:25 -07:00
Alex Dadgar
77f5c6eab0 Merge pull request #975 from hashicorp/f-rename-complete-alloc
Successful allocations are marked as complete instead of dead
2016-03-25 10:35:11 -07:00
Alex Dadgar
e0699c2abb Successful allocations are marked as complete instead of dead 2016-03-23 18:08:19 -07:00
Diptanu Choudhury
9a71225b9e Removing references to old consul services and adding consul config to executor context 2016-03-23 12:19:19 -07:00
Alex Dadgar
6b3c22e91a Batch client allocation updates to the server 2016-02-21 21:15:02 -08:00
Alex Dadgar
1a31340075 Unmount special directories when task finishes 2016-02-08 18:51:11 -08:00
Alex Dadgar
fb010e2c5d Small fixes 2016-02-04 14:19:27 -08:00
Alex Dadgar
c89e97084d Fix AllocRunner not capturing destroy signal and tests 2016-02-04 13:09:53 -08:00
Alex Dadgar
cc90670210 Fix tests 2016-02-03 19:58:39 -08:00
Alex Dadgar
de6e1e791e Another test fix 2016-02-02 17:35:06 -08:00
Alex Dadgar
a2132950a5 Restart on-success shouldn't be user specifiable 2016-02-02 17:35:06 -08:00
Alex Dadgar
410ae593e7 Fix double pull with introduction of AllocModifyIndex 2016-02-01 15:43:59 -08:00
Alex Dadgar
2158e05fa9 Just check the alloc is not pending 2016-01-21 16:05:35 -08:00
Alex Dadgar
6953ae4b79 AllocRunner restore test 2016-01-21 14:52:41 -08:00
Alex Dadgar
e91abac0f6 Fix a bunch of tests
Up timeouts

trusty travis beta

Increase timeouts
2016-01-20 16:03:53 -08:00
Diptanu Choudhury
568006247d Making a struct to hold consul service config 2015-12-11 14:06:51 -08:00
Diptanu Choudhury
6af01d2d6f Muted the consul debug messages 2015-12-11 09:06:03 -08:00
Diptanu Choudhury
eaea4f6800 Fixed the alloc runner test 2015-11-25 14:54:52 -08:00
Diptanu Choudhury
b0c8cf6e36 Renamed consul client to service 2015-11-24 12:34:26 -08:00
Alex Dadgar
7357979089 Revert "Revert "Make drivers take arguments as a list and not as a string"" 2015-11-18 15:16:42 -08:00
Alex Dadgar
d666f5bde1 Revert "Make drivers take arguments as a list and not as a string" 2015-11-18 13:46:43 -08:00
Alex Dadgar
d0ebac1513 More test fixes 2015-11-18 12:30:42 -08:00
Diptanu Choudhury
6d81111995 Added the option to configure consul address 2015-11-18 05:15:52 -08:00
Diptanu Choudhury
4221cda6f7 Added a logger to consul client 2015-11-18 02:14:07 -08:00
Diptanu Choudhury
9a578c5c0d Added the implementation of consul client 2015-11-18 00:50:45 -08:00
Alex Dadgar
f4b461f97a Track Task State in the client and capture Wait results 2015-11-16 15:14:21 -08:00
Alex Dadgar
59368b70da Enable AllocRunner_SaveRestoreState test 2015-11-10 16:53:59 -08:00
Alex Dadgar
dfd0efbacd Client init rebase 2015-09-25 16:46:41 -07:00
Alex Dadgar
289a9766f3 Update package import name 2015-09-22 18:48:42 -07:00
Alex Dadgar
891d8b8f47 Guard tests 2015-09-22 17:10:03 -07:00
Alex Dadgar
5ac6c3b73d Linux executor with cgroup isolation support 2015-09-21 09:08:57 -07:00
Armon Dadgar
f6928545e8 client: test alloc runner 2015-08-30 17:10:17 -07:00
Armon Dadgar
65e79fb733 client: refactor AllocRunner for testing 2015-08-30 16:35:04 -07:00