Sean Chittenden
dce9da3bb3
Add the minimal fix to restore being able to compile on Illumos.
...
This brings in the necessary fix to satisfy #2989 without dragging along
additional vendor updates reverted in #3019 .
2017-05-09 08:41:44 -07:00
James Phillips
785ff2796f
Puts tree into 0.8.3 development mode.
2017-05-09 07:41:56 -07:00
James Phillips
d3f4c27a44
Bumps Consul version to 0.8.2.
2017-05-09 07:19:02 -07:00
James Phillips
601748498c
Release v0.8.2
2017-05-09 07:04:30 -07:00
James Phillips
bd686a2576
Puts tree into 0.8.2 release mode.
2017-05-09 06:58:29 -07:00
James Phillips
c439651b57
Merge pull request #3020 from hashicorp/test-tweaks
...
Cleans up vet errors and tweaks unit tests that were failing in Travis CI.
2017-05-09 06:49:12 -07:00
James Phillips
c1d196152f
Fixes vet errors.
2017-05-09 06:48:52 -07:00
James Phillips
33a7b8e401
Tweaks some tests that were having a hard time in Travis CI and
...
bumps up the default retry time.
2017-05-09 06:48:26 -07:00
James Phillips
66e1bb5c3e
Adds prepared query API to ACLs table.
2017-05-08 21:37:52 -07:00
James Phillips
792dba4ffa
Merge pull request #3008 from hashicorp/d-index-enterprise-features
...
Add Consul Enterprise section to Docs
2017-05-08 21:15:21 -07:00
James Phillips
f142f9f9cd
Update CHANGELOG.md
2017-05-08 20:44:20 -07:00
James Phillips
b9737368f7
Merge pull request #3019 from hashicorp/revert-2989-f-fix-illumos-build
...
Revert "Fix the build on Illumos."
2017-05-08 20:42:29 -07:00
James Phillips
cc96f9324c
Revert "Fix the build on Illumos."
2017-05-08 20:42:12 -07:00
James Phillips
efff41a8b2
Updates built-in static assets for web UI.
2017-05-08 19:50:54 -07:00
James Phillips
a212bf55fe
Merge pull request #3013 from justinwalz/justinwalz/doc_fix
...
Fixup ACL docs
2017-05-06 18:44:14 -07:00
Justin Walz
c5c7882e1b
Fixup ACL docs
2017-05-06 17:21:13 -07:00
Rob Genova
1277096b41
use relative links; remove extra spaces between words
2017-05-06 20:26:30 +00:00
James Phillips
1979f40cf1
Merge pull request #3012 from hashicorp/jbs-2944
...
DOCS: Minor clarification to address #2944
2017-05-05 09:01:32 -07:00
Brian Shumate
5974927993
DOCS: Minor clarification to address #2944
2017-05-05 11:56:12 -04:00
James Phillips
337368d296
Merge pull request #3011 from hashicorp/jbs-2950
...
DOCS: minor clarification to address #2950
2017-05-05 08:54:20 -07:00
James Phillips
6b090b06af
Update CHANGELOG.md
2017-05-05 08:53:49 -07:00
Brian Shumate
e90804304a
DOCS: minor clarification to address #2950
2017-05-05 11:51:46 -04:00
James Phillips
95d7269cd3
Merge pull request #3010 from hashicorp/jbs-ui-acl-docs
...
UI: open docs links in new tab
2017-05-05 08:51:43 -07:00
Brian Shumate
51ead36100
Use updated ACL guide URL instead
2017-05-05 11:43:06 -04:00
Brian Shumate
4944bb66be
UI: open docs links in new tab
...
- set `target="_blank"` on all docs URLs
2017-05-05 11:19:53 -04:00
Frank Schroeder
de66412bdd
test: simplify joining clusters
2017-05-05 17:07:04 +02:00
Frank Schroeder
7732347172
test: simplify tests that check for peers
2017-05-05 17:07:04 +02:00
Frank Schroeder
2794db5aac
test: Fix badly formatted retry.Run tests
2017-05-05 17:07:03 +02:00
Frank Schroeder
c3d6814149
test: Drop WaitForResult from testutil and testrpc
2017-05-05 17:07:03 +02:00
Frank Schroeder
9c86d5c764
test: convert remaining WaitForResult tests
2017-05-05 17:07:03 +02:00
James Phillips
ddfa57765c
retry: Removes the description parameter.
2017-05-05 17:07:03 +02:00
James Phillips
55cf5e1ba0
test: Tweaks ACL replication tests to converge faster w/less spam.
2017-05-05 17:07:03 +02:00
James Phillips
2de1cd5a4a
test: Turns off ACLs for catalog and health WAN translation tests.
...
Since this was doing registration to a foreign DC, it needs extra time
for the route to the ACL datacenter to be set up. ACLs aren't part of
this test, so by disabling them we make this more reliable and converge
faster than if we had added a retry.
2017-05-05 17:07:03 +02:00
James Phillips
888fa5cad6
test: Moves a variable closer to where it's used.
2017-05-05 17:07:03 +02:00
James Phillips
0daacfe5e5
test: Turns down server health interval for faster convergence.
...
This fixes the autopilot tests.
2017-05-05 17:07:02 +02:00
Frank Schroeder
21a82a0a16
test: Refactor WaitForResult tests with retry
...
Refactor tests that use testutil.WaitForResult to use retry.
Since this requires refactoring the test functions in general this patch
also shows the use of the github.com/pascaldekloe/goe/verify library
which provides a good mechanism for comparing nested data structures.
Instead of just converting the tests from testutil.WaitForResult to
retry the tests that performing a nested comparison of data structures
are converted to the verify library at the same time.
2017-05-05 17:07:02 +02:00
Frank Schroeder
eb6465551b
retry: add retry package for retriable tests
...
The current retry framework in testutil/testprc.WaitForResult uses
a func() (bool, error) callback until it succeeds or times out.
It captures the last error and returns it.
if err := testutil.WaitForResult(t, func() (bool, error) {
if err := foo(); err != nil {
return false, err
}
...
return true, nil
}); err != nil {
t.Fatal(err)
}
This makes the test functions more complex than they need to be since
both the boolean and the error indicate a success or a failure.
The retry.Run framework uses a an approach similar to t.Run()
from the testing framework.
retry.Run(t, func(r *retry.R) {
if err := foo(); err != nil {
r.Fatal(err)
}
})
The behavior of the Run function is configurable so that different
timeouts can be used for different tests.
2017-05-05 17:07:02 +02:00
Frank Schroeder
f0d847572d
Fix imports on website
2017-05-05 17:07:02 +02:00
Frank Schroeder
f39c604cd7
Fix imports
2017-05-05 17:07:00 +02:00
Rob Genova
ff7db062ba
Eliminated 'consul' from all paths; misc. edits; wrap text at 80 characters
2017-05-05 05:24:04 +00:00
Rob Genova
f20aad8983
Add Consul Enterprise section to Docs
2017-05-04 22:30:11 +00:00
James Phillips
24efdb74fb
Update CHANGELOG.md
2017-05-04 14:37:49 -07:00
James Phillips
af62e2bc77
Merge pull request #3007 from hashicorp/config-json
...
Adds support for peers.json recover with Raft protocol version 3.
2017-05-04 14:31:21 -07:00
James Phillips
5d37086506
Adds support for new-style peers.json recovery for newer Raft protocol versions.
2017-05-04 14:15:59 -07:00
James Phillips
3d43031fbf
Updates vendored Raft library.
...
This pulls in https://github.com/hashicorp/raft/pull/207 to get
support for the new-style peers.json recovery file.
2017-05-04 13:27:33 -07:00
James Phillips
ae4dfb1e9e
Merge pull request #3006 from hashicorp/issue-2980-redux
...
Adds timeout and waits for feedback when asking the leader loop to reassert.
2017-05-04 12:02:52 -07:00
James Phillips
eff282762d
Adds timeout and waits for feedback when asking the leader loop to reassert.
...
This adds on to the fix in #3004 for issue #2980 .
2017-05-04 11:52:22 -07:00
James Phillips
bc508f5666
Update CHANGELOG.md
2017-05-04 10:36:08 -07:00
James Phillips
693f35e038
Merge pull request #3004 from hashicorp/issue-2980
...
Fixes panic in leader loop on step down w/o step up
2017-05-04 10:34:38 -07:00
Frank Schroeder
b33c4a16c1
Do not block on reassertLeader during shutdown
2017-05-04 16:48:54 +02:00