Commit Graph

653 Commits

Author SHA1 Message Date
Diptanu Choudhury
cdb28bf46f Added a test for modifying check 2015-11-25 18:37:51 -08:00
Diptanu Choudhury
75d95a4c83 Fixed merge conflicts 2015-11-25 18:32:37 -08:00
Diptanu Choudhury
67fd39fce0 Added some comments 2015-11-25 18:31:11 -08:00
Diptanu Choudhury
f2f5f7ee36 Fixed tests 2015-11-25 18:23:47 -08:00
Diptanu Choudhury
e6ff842e8f making the service checks in service pointers 2015-11-25 17:44:57 -08:00
Diptanu Choudhury
a106b03416 Made the logic to track checks simpler 2015-11-25 17:28:44 -08:00
Diptanu Choudhury
84a61a9fcd Using the service id in check hash 2015-11-25 15:17:27 -08:00
Diptanu Choudhury
eaea4f6800 Fixed the alloc runner test 2015-11-25 14:54:52 -08:00
Diptanu Choudhury
eedc99ccda Fixed the build 2015-11-25 14:45:28 -08:00
Diptanu Choudhury
ee14aa2781 Added options for adding more consul configuration 2015-11-25 13:39:16 -08:00
Diptanu Choudhury
beebb7cc14 Merge pull request #498 from hashicorp/b-consul-check
Handle updates of Service and Check definitions
2015-11-25 13:17:26 -08:00
Diptanu Choudhury
e9019d1256 Improved tests 2015-11-25 12:06:14 -08:00
Diptanu Choudhury
92c635d278 Added a test to make sure we are adding a check to a service 2015-11-25 11:20:36 -08:00
Diptanu Choudhury
566897b60f Saving the host and port in tracked service 2015-11-24 18:58:53 -08:00
Diptanu Choudhury
e2370999de Fixing comment and syntax 2015-11-24 18:43:23 -08:00
Diptanu Choudhury
02f2c55f9f Implemented syncing of checks 2015-11-24 18:39:38 -08:00
Diptanu Choudhury
fdb26ae6a0 Dried the tests 2015-11-24 17:33:04 -08:00
Diptanu Choudhury
78555b509a Tracking the tasks too 2015-11-24 17:26:30 -08:00
Alex Dadgar
8afce68bf0 Inject the current binary into the chroot in test mode 2015-11-24 16:30:53 -08:00
Chris Hines
376e192867 Fix Executor_Open_Invalid test for Windows. 2015-11-24 16:30:53 -08:00
Chris Hines
ded2aeab2e Include Executor_Open_Invalid in test suite. 2015-11-24 16:30:53 -08:00
Chris Hines
43f3c43ec0 Improve names and documentation in test code. 2015-11-24 16:30:53 -08:00
Chris Hines
3f6c115440 Use TestMain to provide portable echo, sleep, and write commands. 2015-11-24 16:30:53 -08:00
Diptanu Choudhury
3051958323 Added a test to re-sync services 2015-11-24 14:37:14 -08:00
Diptanu Choudhury
b0c8cf6e36 Renamed consul client to service 2015-11-24 12:34:26 -08:00
Alex Dadgar
a4843addce Merge branch 'master' of https://github.com/hashicorp/nomad 2015-11-24 11:06:56 -08:00
Alex Dadgar
ef1937cd53 Standardize log messages in fingerprinters to DEBUG 2015-11-24 11:06:51 -08:00
Diptanu Choudhury
448ac3efd6 Registering Checks independently 2015-11-24 10:02:33 -08:00
Diptanu Choudhury
9868163737 Removing a hot debug line 2015-11-24 10:02:33 -08:00
max
7ff03041d7 Client config option "fingerprint.whitelist" 2015-11-24 16:18:49 +01:00
Diptanu Choudhury
b6cb7d0d7b Updated changelog 2015-11-23 11:01:41 -08:00
Diptanu Choudhury
b3f6f1aec3 removing redundant fail() 2015-11-23 10:59:07 -08:00
Diptanu Choudhury
27ad0ad253 Making the restart tracker aware of the exit codes 2015-11-23 10:56:38 -08:00
Diptanu Choudhury
29491ad47a Not restarting if a task exited properly 2015-11-22 23:47:15 -08:00
Alex Dadgar
220f79cefc Clear consul attributes if consul couldn't be fingerprinted 2015-11-22 13:51:10 -08:00
Alex Dadgar
e898adc78a Fingerprinter only creates one consul client 2015-11-22 13:42:06 -08:00
Chris Bednarski
9e418fcaf5 Merge pull request #481 from hashicorp/b-vet
Fix some issues caught by go vet
2015-11-20 16:31:47 -08:00
Chris Bednarski
5f719161de Merge pull request #480 from hashicorp/f-docker-tls-config
Added docker.tls config file options and docs
2015-11-20 16:31:41 -08:00
Chris Bednarski
fc95a3c9dc Fix some issues caught by go vet 2015-11-20 16:01:27 -08:00
Chris Bednarski
2970006488 Change println to printf 2015-11-20 16:00:58 -08:00
Chris Bednarski
30e7ef3eb9 Don't show endpoint when we're not using it 2015-11-20 15:53:38 -08:00
Chris Bednarski
2563480ddf Added docker.tls config file options and docs 2015-11-20 15:47:03 -08:00
Diptanu Choudhury
b0fe212a01 Merge pull request #479 from hashicorp/r-consul-check
Using the service name in the service id so that it's unique
2015-11-20 15:33:57 -08:00
Alex Dadgar
ef013c5c45 Merge pull request #442 from ChrisHines/windows-spawn
Fix tests for nomad/client/driver/spawn package to work on Windows.
2015-11-20 14:49:54 -08:00
Chris Bednarski
61aeace69a Merge pull request #476 from hashicorp/b-docker-expose
Fixed some issues with expose, port mapping, and environment variables
2015-11-20 14:24:25 -08:00
Alex Dadgar
6bbc977fe5 Renamed whitelisted to skipped and update debug line 2015-11-20 14:07:35 -08:00
Chris Bednarski
c298425917 Added client checks back to the tests that can't use dockerSetup() 2015-11-20 13:50:47 -08:00
Diptanu Choudhury
6592483274 Using the service name in the service id so that it's uniq 2015-11-20 10:35:04 -08:00
Chris Bednarski
e5d5d42b13 Added nil to network.MapLabelToValues call 2015-11-19 22:18:19 -08:00
Chris Bednarski
63439ee3f7 Squash []map[string]type for port_map and labels into map[string]type 2015-11-19 21:29:37 -08:00