Commit Graph

944 Commits

Author SHA1 Message Date
William Tisäter 14dec397f8 Remove all sleeps from `catalog_endpoint_test.go` 2014-05-09 01:18:35 +02:00
William Tisäter f202123fb1 Remove all sleeps from `health_endpoint_test.go` 2014-05-09 01:18:08 +02:00
William Tisäter 78145ecfd5 Require datacenter argument for `WaitForLeader` 2014-05-09 01:17:35 +02:00
Armon Dadgar 359807375e website: mention client_addr 2014-05-08 13:44:59 -07:00
Armon Dadgar 0e72e741dc bench: Read not representative, cache increasing read rate. 2014-05-07 17:52:11 -07:00
Armon Dadgar 19bba8ae78 bench: Adding a simple benchmarking setup 2014-05-07 17:42:57 -07:00
Armon Dadgar d5a8e79b65 agent: Correct spelling of separator. Fixes #101. 2014-05-07 15:25:17 -07:00
Armon Dadgar 3d527e174a website: update docs, CLI flag no longer available 2014-05-07 15:11:56 -07:00
Armon Dadgar 556d342163 Merge pull request #138 from nelhage/docfix
docs: The config key is "encrypt", not "encrypt_key"
2014-05-07 15:10:16 -07:00
Nelson Elhage 0b9ad9e882 docs: The config key is "encrypt", not "encrypt_key" 2014-05-07 15:04:50 -07:00
William Tisäter 05243b35cd Move argument structs back in original position 2014-05-07 23:51:15 +02:00
William Tisäter 93c7103bb5 Move `WaitForLeader` calls to top of test 2014-05-07 23:47:16 +02:00
William Tisäter 0ed5599ffe Add test file for testutil 2014-05-07 23:42:15 +02:00
William Tisäter c8168bd8fe Drop client arguments from `WaitForLeader` 2014-05-07 23:41:14 +02:00
William Tisäter 4179b9dfe4 Remove some sleeps from `local_test.go` 2014-05-07 23:27:32 +02:00
William Tisäter 0d90e480b6 Remove all sleeps from `kvs_endpoint_test.go` 2014-05-07 23:17:10 +02:00
William Tisäter fcd5da3bf7 Drop unnecessary sleep 2014-05-07 23:17:00 +02:00
William Tisäter e4598284fd Remove all sleeps from `health_endpoint_test.go` 2014-05-07 23:12:53 +02:00
William Tisäter 1a32697b2b Remove all sleeps from `catalog_endpoint_test.go` 2014-05-07 23:02:59 +02:00
William Tisäter 9027d63059 Fix formatting in `TestForceLeaveCommandRun` 2014-05-07 22:50:34 +02:00
William Tisäter ab209c0176 Remove all sleeps from `agent_endpoint_test.go` 2014-05-07 22:50:18 +02:00
William Tisäter dde3b90632 Remove all sleeps from `force_leave_test.go` 2014-05-07 22:45:16 +02:00
William Tisäter aa00bfff7d Fix `TestCatalogListNodes_StaleRaad` with `WaitForLeader` 2014-05-07 13:53:29 +02:00
William Tisäter f1b9dbe5c3 Add `testutils.WaitForLeader` and truly wait 2014-05-07 11:43:42 +02:00
William Tisäter 028bc7e1b4 Proof of concept using `WaitForResult` in tests 2014-05-07 02:48:25 +02:00
Armon Dadgar 8f37f967e0 agent: Limit KV entries to 512KB. Fixes #123. 2014-05-06 14:18:32 -07:00
Armon Dadgar 4a80e73df4 consul: Drop the Raft logs size warning from 8MB to 1MB 2014-05-06 14:10:08 -07:00
Armon Dadgar 1256bf37f0 agent: Minor cleanups 2014-05-06 12:43:33 -07:00
William Tisäter cdc59aa5d3 Fix race condition in `TestCheckTTL`
Apparently the execution of `TestCheckTTL` could sometime take > 10ms
causing it to fail. This commit will eliminate the race condition for
most modern hardware.
2014-05-06 20:54:49 +02:00
William Tisäter f751e1bf4f Update CHANGELOG.md 2014-05-06 20:00:43 +02:00
William Tisäter 963f1e2ff6 Merge pull request #128 from carlosdp/pid-file
Add pid-file flag to agent
2014-05-06 19:57:12 +02:00
Armon Dadgar 58a896ad28 website: improve the docs for the agent TTL endpoints 2014-05-06 10:44:42 -07:00
Carlos Diaz-Padron 4124ddf763 Return pid file errors and fix help formatting 2014-05-06 13:04:22 -04:00
William Tisäter 219cbd62f7 Merge pull request #129 from carlosdp/makefile-format
LGTM! Thanks!

Good read on `go fmt`: http://blog.golang.org/go-fmt-your-code
2014-05-06 10:33:11 +02:00
Carlos Diaz-Padron 715b29bef2 Add format task to all and silence large output 2014-05-06 01:48:18 -04:00
Carlos Diaz-Padron 9ed70ca851 Add make format task 2014-05-06 01:38:21 -04:00
Carlos Diaz-Padron 4d0f06c2f5 Use proper shell expansion in Makefile 2014-05-06 01:34:24 -04:00
Carlos Diaz-Padron dd1ce61fb1 Add pid-file option to agent docs 2014-05-05 23:39:26 -04:00
Carlos Diaz-Padron 60ef5a8a12 Add flag to agent to write pid file 2014-05-05 23:39:18 -04:00
Armon Dadgar 226b0520a1 Merge pull request #127 from tiwilliam/fix-cancel-transition
ui: Fix parentKey transitions to root on cancel
2014-05-05 13:45:38 -07:00
William Tisäter 25d092e592 Fix parentKey transitions to root
Previously, deleting a key in `/dc1/kv/` would transition to
`/dc1/kv//` on success. A refresh at this stage would lead to `404`,
this commit will fix this and generate the correct route key in a
helper function.
2014-05-05 21:32:39 +02:00
Jack Pearkes 7fd4b1798b update changelog 2014-05-05 10:22:20 -04:00
Jack Pearkes b0c7fa7749 ui: actually render an error message, hide delete on root
cc/ @tiwilliam
2014-05-05 10:20:57 -04:00
Jack Pearkes d5a74e913a Merge pull request #124 from tiwilliam/delete-folders
Add delete folder button to web UI
2014-05-05 10:19:46 -04:00
William Tisäter 0a1c719bcb Rename `KvHelpController` to `KvBaseController` 2014-05-05 16:09:18 +02:00
William Tisäter 60f1d74012 Drop duplicate isLoading set to false 2014-05-05 16:09:18 +02:00
William Tisäter 941a1e3910 Transition to nearest parent on key delete 2014-05-05 16:09:18 +02:00
William Tisäter e587297ed2 Clean up root check 2014-05-05 16:09:18 +02:00
William Tisäter 17e3756200 Redirect to correct root path when deleting keys 2014-05-05 16:09:18 +02:00
William Tisäter d40b3ae6a6 Revert modifications to `getParentAndGrandparent` 2014-05-05 16:09:18 +02:00