Commit Graph

10692 Commits (ab461f6603c74f82191776bbdad2f575ca3177f5)

Author SHA1 Message Date
Armon Dadgar b03ead39a1 consul: Support for incoming Yamux connections 2014-05-28 16:32:24 -07:00
William Tisäter d794a18761 Return both member and config in `/v1/agent/self` 2014-05-28 00:09:28 +02:00
Armon Dadgar cb8cac40f3 bench: Fixing benchmark address on some systems 2014-05-27 11:01:05 -07:00
Armon Dadgar c51089353e Merge pull request #174 from nelhage/multi-ca-cert
Allow multiple PEM-encoded certificates in the ca_file.
2014-05-27 10:47:41 -07:00
William Tisäter d0e447d29b Add `/v1/agent/self` and return local agent config 2014-05-27 01:15:33 +02:00
William Tisäter 39c9011ade Increase wait time after `agent.StartSync()` 2014-05-27 01:00:13 +02:00
William Tisäter 7146561fad Wait for joining member in `TestClient_JoinLAN` 2014-05-27 00:55:20 +02:00
William Tisäter ed4230f1fc Fix tests on Go 1.3 and greater
Go 1.3 and greater require ServerName or InsecureSkipVerify to be set.

https://codereview.appspot.com/67010043/
2014-05-27 00:47:47 +02:00
William Tisäter 4685e1c51f Revert "Remove `WaitForResult` from two failing tests"
This reverts commit f0842409cd.
2014-05-26 23:49:23 +02:00
William Tisäter 3f361972ac Remove TODO comments 2014-05-26 23:44:46 +02:00
William Tisäter f0842409cd Remove `WaitForResult` from two failing tests 2014-05-26 23:44:37 +02:00
William Tisäter f5bd176fb3 Merge pull request #175 from nelhage/fix-tests
Fix some issues in tests.
2014-05-26 22:38:27 +02:00
Nelson Elhage 2080122f38 WaitForLeader: Also wait for a non-zero index.
On my laptop, I'm currently seeing a huge number of intermittent test
failures all related to WaitForLeader returning after the test node has
become a leader, but before it has actually finished starting up, in
particular, performing the serf/Raft reconciliation.

Waiting for the index to become nonzero makes the tests pass reliably,
by also blocking until the new leader has started committing state.
2014-05-26 13:26:42 -07:00
Nelson Elhage 8af424fc4c tests: Don't generate binary output from checks.
The tests will end up logging the check output, and spewing random
binary all over a terminal never results in anything good.
2014-05-26 13:23:10 -07:00
Nelson Elhage fe4ec67488 Allow multiple PEM-encoded certificates in the ca_file.
fixes #167
2014-05-26 10:58:57 -07:00
Armon Dadgar 37f49427e1 consul: Suppress error if connection is closed 2014-05-23 16:28:55 -07:00
Armon Dadgar 9cdeeba0eb Merge pull request #168 from ryanuber/syslog-wrapper
command/agent: added missing syslog wrapper
2014-05-22 10:41:58 -07:00
Ryan Uber bf3a53f6d0 command/agent: added missing syslog wrapper 2014-05-21 22:05:36 -07:00
Armon Dadgar e55a6fb6d6 Support wildcard for check lookup. Fixes #152 2014-05-21 12:45:12 -07:00
Armon Dadgar de309057ff Support rejoin after leave. Fixes #110. 2014-05-21 12:32:24 -07:00
Armon Dadgar 1d26ea41e1 agent: Improving test reliability 2014-05-21 12:31:22 -07:00
Armon Dadgar bc4f5fb95a CHANGELOG updates 2014-05-21 12:11:34 -07:00
Armon Dadgar 0836a222bf agent: syslog support. Fixes #105. 2014-05-21 12:06:03 -07:00
Armon Dadgar 91b52176d8 agent: Provide log info about encryption. Fixes #151. 2014-05-20 17:00:04 -07:00
Armon Dadgar 88d91c6ee0 agent: Support for raw key lookup. Fixes #150. 2014-05-20 16:53:43 -07:00
Armon Dadgar fa4cb49feb website: Document DNS truncation. Fixes #144. 2014-05-20 16:43:44 -07:00
Armon Dadgar e128962b56 Merge pull request #162 from hashicorp/f-locking
Adding support for sessions and locking in the KV store
2014-05-20 16:41:20 -07:00
Armon Dadgar 55951c9f87 website: Document KV changes 2014-05-20 16:25:30 -07:00
Armon Dadgar a12c52ca2d website: Documenting the session endpoints 2014-05-20 16:25:30 -07:00
Armon Dadgar 3fc7b208a5 website: Adding guide on leader election 2014-05-20 16:25:30 -07:00
Armon Dadgar f91b1c3bf4 website: Starting to document sessions 2014-05-20 16:25:30 -07:00
Armon Dadgar 6131fad068 agent: Adding locking support to KV store 2014-05-20 16:25:29 -07:00
Armon Dadgar 00a107dfd9 agent: Adding support for specifying LockDelay, defaults to 15 seconds. 2014-05-20 16:25:29 -07:00
Armon Dadgar e0abf2e92c consul: Adding support for lock-delay in sessions 2014-05-20 16:25:29 -07:00
Armon Dadgar c071932f92 agent: Session endpoint tests 2014-05-20 16:25:29 -07:00
Armon Dadgar 9abd428982 agent: Require PUT to SessionCreate 2014-05-20 16:25:29 -07:00
Armon Dadgar 14be60aaca gofmt 2014-05-20 16:25:29 -07:00
Armon Dadgar 0119ec7f0a agent: First pass at session endpoints 2014-05-20 16:25:29 -07:00
Armon Dadgar b8174dc500 consul: Adding tests for session endpoints 2014-05-20 16:25:29 -07:00
Armon Dadgar f2b2a68a55 consul: First pass at Session RPC endpoints 2014-05-20 16:25:29 -07:00
Armon Dadgar aa97e24b02 consul: Testing FSM snapshot of sessions 2014-05-20 16:25:29 -07:00
Armon Dadgar 555533e2f8 consul: Testing KVS Lock/Unlock in FSM 2014-05-20 16:25:29 -07:00
Armon Dadgar 85656e0f54 consul: FSM tests for session 2014-05-20 16:25:28 -07:00
Armon Dadgar 137d21fbac consul: Adding support for sessions to FSM 2014-05-20 16:25:28 -07:00
Armon Dadgar 8772068163 consul: Adding SessionList to snapshot 2014-05-20 16:25:28 -07:00
Armon Dadgar c19806464b consul: Session invalidation releases locks 2014-05-20 16:25:28 -07:00
Armon Dadgar dc1955526c consul: Support KVSLock and KVSUnlock 2014-05-20 16:25:28 -07:00
Armon Dadgar 1c484e991d consul: Switch notify to using txn defer 2014-05-20 16:25:28 -07:00
Armon Dadgar 5e0639a0eb consul: Adding session invalidation 2014-05-20 16:25:28 -07:00
Armon Dadgar 8fec0c093c consul: Adding Defer to MDBTxn 2014-05-20 16:25:28 -07:00