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
James Phillips
7fa2471ba7
Update CHANGELOG.md
2017-05-09 18:46:51 -07:00
James Phillips
c6de323fc3
Update CHANGELOG.md
2017-05-09 11:48:23 -07:00
Kyle Havlovitz
f0e99071cd
Update CHANGELOG.md
2017-05-09 11:35:24 -07:00
James Phillips
8ec6d3579c
Update CHANGELOG.md
2017-05-09 11:05:28 -07:00
James Phillips
3a8c6b8a65
Merge pull request #3024 from sean-/f-illumos-duex
...
Add the minimal fix to restore being able to compile on Illumos.
2017-05-09 11:04:35 -07:00
Frank Schroeder
6fa76fd90f
agent: Disallow :: or [::] as advertise or advertise-wan address
2017-05-09 17:56:16 +02:00
Frank Schroeder
8ad52ee9b5
agent: Disallow :: and [::] as service address
2017-05-09 17:56:15 +02:00
Frank Schroeder
e365ef12cf
agent: Disallow 0.0.0.0 as advertise or advertise-wan address
...
Fixes #2961
2017-05-09 17:56:15 +02:00
Frank Schroeder
73a31b9bfe
agent: Disallow 0.0.0.0 as service address
...
Fixes #2961
2017-05-09 17:56:15 +02:00
Cyril Gaudin
417ffb8893
test: Make testserver start timeout configurable.
2017-05-09 17:48:53 +02:00
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