Commit Graph

1207 Commits

Author SHA1 Message Date
William Tisäter 860cdb9c96 Change blocking call sleep time 2014-05-09 02:36:25 +02:00
William Tisäter 8e6ae4019b Fix race condition in `TestHTTPAgentJoin_WAN` 2014-05-09 02:30:05 +02:00
William Tisäter a727c59e74 Remove all sleeps from `client_test.go` 2014-05-09 02:29:51 +02:00
William Tisäter 7ffc8cd29e Fix race condition in `TestLeader_FailedMember` 2014-05-09 02:14:39 +02:00
William Tisäter f0a8866d42 Remove all sleeps from `internal_endpoint_test.go` 2014-05-09 02:11:40 +02:00
William Tisäter 9e73d1b849 Remove all sleeps from `kvs_endpoint_test.go` 2014-05-09 02:09:53 +02:00
William Tisäter 2d36b0f017 Remove all sleeps from `ui_endpoint_test.go` 2014-05-09 02:08:01 +02:00
William Tisäter 69eef2b455 Remove all sleeps from `status_endpoint_test.go 2014-05-09 02:06:19 +02:00
William Tisäter f4597403e3 Remove all sleeps from `leader_test.go` 2014-05-09 02:04:52 +02:00
William Tisäter 4e9e14ff93 Remove all sleeps from `server_test.go` 2014-05-09 01:38:58 +02:00
William Tisäter 176e3eb9df Remove all sleeps from `status_endpoint_test.go` 2014-05-09 01:23:54 +02:00
William Tisäter c0de985b91 Fix imports in `health_endpoint_test.go` 2014-05-09 01:21:13 +02:00
William Tisäter fcb4f4ef95 Remove most sleeps from `rpc_client_test.go` 2014-05-09 01:19:05 +02:00
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