Commit Graph

11244 Commits

Author SHA1 Message Date
William Tisäter 89c018b681 Remove all sleeps from `catalog_endpoint_test.go` 2014-05-09 01:18:35 +02:00
William Tisäter c391c5bfcb Remove all sleeps from `health_endpoint_test.go` 2014-05-09 01:18:08 +02:00
William Tisäter 1ee709ba38 Require datacenter argument for `WaitForLeader` 2014-05-09 01:17:35 +02:00
Armon Dadgar 1543696e03 website: mention client_addr 2014-05-08 13:44:59 -07:00
Armon Dadgar f6bfcb64d8 bench: Read not representative, cache increasing read rate. 2014-05-07 17:52:11 -07:00
Armon Dadgar 1aabbb5542 bench: Adding a simple benchmarking setup 2014-05-07 17:42:57 -07:00
Armon Dadgar 01e085cc64 agent: Correct spelling of separator. Fixes #101. 2014-05-07 15:25:17 -07:00
Armon Dadgar fe35d55663 website: update docs, CLI flag no longer available 2014-05-07 15:11:56 -07:00
Armon Dadgar 35ca21d589 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 8505ee7372 docs: The config key is "encrypt", not "encrypt_key" 2014-05-07 15:04:50 -07:00
William Tisäter 463f85c3c7 Move argument structs back in original position 2014-05-07 23:51:15 +02:00
William Tisäter c624161827 Move `WaitForLeader` calls to top of test 2014-05-07 23:47:16 +02:00
William Tisäter 20eb682ef6 Add test file for testutil 2014-05-07 23:42:15 +02:00
William Tisäter bdbe97545a Drop client arguments from `WaitForLeader` 2014-05-07 23:41:14 +02:00
William Tisäter 795fab8a61 Remove some sleeps from `local_test.go` 2014-05-07 23:27:32 +02:00
William Tisäter 89ead7bc4e Remove all sleeps from `kvs_endpoint_test.go` 2014-05-07 23:17:10 +02:00
William Tisäter 58bb06ff54 Drop unnecessary sleep 2014-05-07 23:17:00 +02:00
William Tisäter 70444ea4b7 Remove all sleeps from `health_endpoint_test.go` 2014-05-07 23:12:53 +02:00
William Tisäter 6e39de1d26 Remove all sleeps from `catalog_endpoint_test.go` 2014-05-07 23:02:59 +02:00
William Tisäter 16a2f14ef1 Fix formatting in `TestForceLeaveCommandRun` 2014-05-07 22:50:34 +02:00
William Tisäter e77c3180d8 Remove all sleeps from `agent_endpoint_test.go` 2014-05-07 22:50:18 +02:00
William Tisäter e76f9f36c6 Remove all sleeps from `force_leave_test.go` 2014-05-07 22:45:16 +02:00
William Tisäter 2019f454d0 Fix `TestCatalogListNodes_StaleRaad` with `WaitForLeader` 2014-05-07 13:53:29 +02:00
William Tisäter 82ec4e5fba Add `testutils.WaitForLeader` and truly wait 2014-05-07 11:43:42 +02:00
William Tisäter 81b572cb31 Proof of concept using `WaitForResult` in tests 2014-05-07 02:48:25 +02:00
Armon Dadgar a1c66d68c8 agent: Limit KV entries to 512KB. Fixes #123. 2014-05-06 14:18:32 -07:00
Armon Dadgar 144a531237 consul: Drop the Raft logs size warning from 8MB to 1MB 2014-05-06 14:10:08 -07:00
Armon Dadgar deaf36a1d9 agent: Minor cleanups 2014-05-06 12:43:33 -07:00
William Tisäter 95f2597fe9 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 a83ad5b659 Update CHANGELOG.md 2014-05-06 20:00:43 +02:00
William Tisäter 1591c4d393 Merge pull request #128 from carlosdp/pid-file
Add pid-file flag to agent
2014-05-06 19:57:12 +02:00
Armon Dadgar 65c0069872 website: improve the docs for the agent TTL endpoints 2014-05-06 10:44:42 -07:00
Carlos Diaz-Padron b61e854f56 Return pid file errors and fix help formatting 2014-05-06 13:04:22 -04:00
William Tisäter 7d959f5ae4 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 c6dc651576 Add format task to all and silence large output 2014-05-06 01:48:18 -04:00
Carlos Diaz-Padron cc44a2fcb9 Add make format task 2014-05-06 01:38:21 -04:00
Carlos Diaz-Padron 89a68f5fb2 Use proper shell expansion in Makefile 2014-05-06 01:34:24 -04:00
Carlos Diaz-Padron 511c1c0273 Add pid-file option to agent docs 2014-05-05 23:39:26 -04:00
Carlos Diaz-Padron e0d477896a Add flag to agent to write pid file 2014-05-05 23:39:18 -04:00
Armon Dadgar 876c9455db 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 dc01e0a145 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 51765fdb96 update changelog 2014-05-05 10:22:20 -04:00
Jack Pearkes 9e08d2bc69 ui: actually render an error message, hide delete on root
cc/ @tiwilliam
2014-05-05 10:20:57 -04:00
Jack Pearkes 71897eda42 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 700d304d15 Rename `KvHelpController` to `KvBaseController` 2014-05-05 16:09:18 +02:00
William Tisäter 570728f6b0 Drop duplicate isLoading set to false 2014-05-05 16:09:18 +02:00
William Tisäter f4c4b5ace8 Transition to nearest parent on key delete 2014-05-05 16:09:18 +02:00
William Tisäter a730174f0c Clean up root check 2014-05-05 16:09:18 +02:00
William Tisäter e174d1062c Redirect to correct root path when deleting keys 2014-05-05 16:09:18 +02:00
William Tisäter 21ad67fc4f Revert modifications to `getParentAndGrandparent` 2014-05-05 16:09:18 +02:00