20 Commits

Author SHA1 Message Date
James Phillips
59a599a14b
Cleans up a stray mark and fixes unit tests.
Ended up removing the leader_test.go server address change test as part
of this. The join was failing becase we were using a new node name with
the new logic here, but realized this was hitting some of the memberlist
conflict logic and not working as we expected. We need some additional
work to fully support address changes, so removed the test for now.
2017-03-27 01:28:54 -07:00
Kyle Havlovitz
390f41d8d5
Add advanced autopilot features 2017-03-22 15:25:16 -07:00
Kyle Havlovitz
f389b59fd5
Fix up command and api tests 2017-02-28 14:12:55 -08:00
Kyle Havlovitz
8c14f93fb1
Convert reload command to use base.Command 2017-02-09 19:32:22 -05:00
Kyle Havlovitz
bd69c6d871 Add reload/leave http endpoints (#2516) 2016-11-30 13:29:42 -05:00
Kyle Havlovitz
338e36cc5d Add logWriter to agent Create() method 2016-11-28 18:36:26 -05:00
James Phillips
925c46f725 Moves logger setup into its own package. (#2471)
* Moves logger setup into its own package.

* Removes a stray regex mark in the test locator.
2016-11-03 21:14:56 -07:00
Seth Vargo
87ad6d466c
Add kv command stubs 2016-09-26 16:06:53 -07:00
Seth Vargo
8c30edc54e
Add test function for returning an API client 2016-09-26 16:06:52 -07:00
Ryan Uber
2e6ccded2c agent: scada client and HTTP server are tracked separately 2015-08-25 16:59:53 -07:00
Ryan Uber
6f0fecc73c agent: fix test compilation 2015-02-20 18:17:12 -08:00
Ryan Uber
0cafb129ee consul: more tests, remove unused KeyManager() method 2014-11-19 16:37:40 -08:00
Ryan Uber
f86904ee59 agent: adjust rpc client tests for keyring 2014-11-19 16:34:17 -08:00
Ryan Uber
90de483871 command/keys: begin tests 2014-11-19 16:30:22 -08:00
Atin Malaviya
61f1d24f39 consul.Config() helper to generate the tlsutil.Config{} struct, 30 second keepalive, use keepalive for HTTP and HTTPS 2014-11-18 17:56:48 -05:00
Atin Malaviya
f1f8c88228 Moved TLS Config stuff to tlsutil package 2014-11-18 11:03:36 -05:00
Armon Dadgar
0cd9faf3a2 command/watch: Adding tests 2014-08-21 16:08:21 -07:00
William Tisäter
9e3ad6721c Re-configure LeaderLeaseTimeout to pass validation 2014-05-30 20:57:39 +02:00
Armon Dadgar
6fd3f81c48 command: Fixing more tests 2014-04-11 16:34:29 -07:00
Armon Dadgar
356dff3ec6 Adding the various CLI commands 2013-12-31 13:06:33 -08:00