Commit Graph

1319 Commits

Author SHA1 Message Date
Andrew M Bursavich 1dd3dfe801 use empty slice instead of nil slice when no tags exist for service 2014-05-13 00:18:36 -07:00
Armon Dadgar 813ebf0b0c consul: Adding a Raft command enqueue limit 2014-05-09 19:18:06 -07:00
William Tisäter 2f23eb42ea Add TODOs for failing tests 2014-05-09 11:38:29 +02:00
William Tisäter e749e2ebc9 Wait wrap tests in `TestServer_JoinLAN` 2014-05-09 03:41:47 +02:00
William Tisäter d199dcde9b Run checks more often in `expectStatus` 2014-05-09 03:41:10 +02:00
William Tisäter 31c962f2a9 Sleep since no obvious way to wait for shutdown 2014-05-09 03:24:13 +02:00
William Tisäter 16bfc8fd1d Fix race condition in `TestLeader_RegisterMember` 2014-05-09 03:05:38 +02:00
William Tisäter a211e1164c Fix race condition in `TestCatalogListNodes` 2014-05-09 03:00:56 +02:00
William Tisäter f7a33c2731 Speed up test runs in `WaitForResult` 2014-05-09 03:00:43 +02:00
William Tisäter 9b9ecd6c6f Merge pull request #139 from zenazn/patch-1
docs: spelling
2014-05-09 02:50:04 +02:00
Carl Jackson 81eac87031 s/direclty/directly/ 2014-05-08 17:48:29 -07:00
William Tisäter e1471576a4 Increase timeout for `WaitForResult` 2014-05-09 02:43:48 +02:00
William Tisäter 30f8573c78 Change blocking call sleep time 2014-05-09 02:36:25 +02:00
William Tisäter f3354b028e Fix race condition in `TestHTTPAgentJoin_WAN` 2014-05-09 02:30:05 +02:00
William Tisäter cb54c4cb49 Remove all sleeps from `client_test.go` 2014-05-09 02:29:51 +02:00
William Tisäter 9b6b75f77c Fix race condition in `TestLeader_FailedMember` 2014-05-09 02:14:39 +02:00
William Tisäter d6f3dc510c Remove all sleeps from `internal_endpoint_test.go` 2014-05-09 02:11:40 +02:00
William Tisäter e27f89fec1 Remove all sleeps from `kvs_endpoint_test.go` 2014-05-09 02:09:53 +02:00
William Tisäter 3a71349ee4 Remove all sleeps from `ui_endpoint_test.go` 2014-05-09 02:08:01 +02:00
William Tisäter e2e5999fdb Remove all sleeps from `status_endpoint_test.go 2014-05-09 02:06:19 +02:00
William Tisäter 44d3985ea8 Remove all sleeps from `leader_test.go` 2014-05-09 02:04:52 +02:00
William Tisäter b108af2dd3 Remove all sleeps from `server_test.go` 2014-05-09 01:38:58 +02:00
William Tisäter 5a56d8a2c6 Remove all sleeps from `status_endpoint_test.go` 2014-05-09 01:23:54 +02:00
William Tisäter d0b38ad641 Fix imports in `health_endpoint_test.go` 2014-05-09 01:21:13 +02:00
William Tisäter bf540c7217 Remove most sleeps from `rpc_client_test.go` 2014-05-09 01:19:05 +02:00
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