Frank Schroeder
1e89692cc1
test: drop error check on http.NewRequest
...
Most URLs are static so the error check is redundant.
The subsequent test wouldn't work if the url is wrong.
2017-05-10 17:42:38 +02:00
Frank Schroeder
48fa2962eb
Revert "test: Run command/agent tests in parallel"
...
This reverts commit 17be40a733
.
2017-04-27 14:39:04 -07:00
Frank Schroeder
17be40a733
test: Run command/agent tests in parallel
2017-04-27 10:34:30 -07:00
Frank Schroeder
eddb1af603
Remove duplicate constants
...
This patch removes duplicate internal copies of constants in the structs
package which are also defined in the api package. The api.KVOp type
with all its values for the TXN endpoint and the api.HealthXXX constants
are now used throughout the codebase.
This resulted in some circular dependencies in the testutil package
which have been resolved by copying code and constants and moving the
WaitForLeader function into a separate testrpc package.
2017-04-20 09:54:49 -07:00
Ryan Uber
b69b780408
agent: error from KVS endpoint if incompatible flags are passed. Fixes #432
2015-01-23 12:48:39 -08:00
Armon Dadgar
d05ed7baa6
agent: Testing the KV DELETE with cas
2015-01-08 17:31:32 -08:00
Armon Dadgar
88d91c6ee0
agent: Support for raw key lookup. Fixes #150 .
2014-05-20 16:53:43 -07:00
Armon Dadgar
6131fad068
agent: Adding locking support to KV store
2014-05-20 16:25:29 -07:00
Armon Dadgar
14be60aaca
gofmt
2014-05-20 16:25:29 -07:00
William Tisäter
78145ecfd5
Require datacenter argument for `WaitForLeader`
2014-05-09 01:17:35 +02:00
William Tisäter
c8168bd8fe
Drop client arguments from `WaitForLeader`
2014-05-07 23:41:14 +02:00
William Tisäter
0d90e480b6
Remove all sleeps from `kvs_endpoint_test.go`
2014-05-07 23:17:10 +02:00
Armon Dadgar
790a753d7d
agent: Support key listing with seperator
2014-04-30 23:44:27 -04:00
Armon Dadgar
e2ea4804bd
agent: Updating tests for new API
2014-04-21 13:11:05 -07:00
Armon Dadgar
526629e12c
agent: Adding tests for the KV endpoints
2014-03-31 20:45:57 -07:00