Commit Graph

5702 Commits

Author SHA1 Message Date
Frank Schroeder b7929b8bce build: make linux/arm64 package
Fixes #3042
2017-05-15 17:27:42 +02:00
Frank Schroeder bab25b1c84 test: fix go vet issue 2017-05-12 22:12:47 +02:00
Frank Schroeder 995c8d7086 test: make test less flaky 2017-05-12 22:12:47 +02:00
Frank Schroeder afaf4431ee test: bump ReadyTimeout to 10s 2017-05-12 22:12:47 +02:00
Frank Schroeder eedf0f3ac5 test: add helper for ioutil.TempDir/TempFile
This creates a simplified helper for temporary directories and files.
All path names are prefixed with the name of the current test.
All files and directories are stored either in /tmp/consul-test
or /tmp if the former could not be created.

Using the system temp dir breaks some tests on macOS where the unix
socket path becomes too long.
2017-05-12 22:12:47 +02:00
Frank Schroeder 1f0a7511b0 test: simplify makefile 2017-05-12 22:12:47 +02:00
Frank Schroeder 29f9b9b22a test: lower wait time for some tests 2017-05-12 22:12:47 +02:00
Frank Schroeder 10622b6995 test: suppress osx firewall warning
macOS displays a firewall warning dialog when an unsigned
application is trying to bind to a non-loopback address.

This patch updates some test configurations to ensure binding
to a loopback address where possible to suppress these warnings.
2017-05-12 22:12:47 +02:00
Frank Schroeder 15590a8446 test: include test name in temp file/dir
This helps identifying hanging tests by looking
at the process list.
2017-05-12 22:12:47 +02:00
James Phillips 8ed478d908 Merge pull request #3038 from jkodroff/patch-2
Update install.sh for Consul 0.8.3
2017-05-12 09:53:50 -07:00
Josh Kodroff 9bec037621 Update install.sh for Consul 0.8.3 2017-05-12 12:52:59 -04:00
James Phillips 8088555d69
Bumps website download link to 0.8.3. 2017-05-12 08:17:56 -07:00
James Phillips 98bcfd3b45 Updates expired test certs and includes a script to generate new certs. 2017-05-12 09:28:21 +02:00
James Phillips 6ca0f290a6
Puts the tree in version 0.8.4 dev mode. 2017-05-11 18:52:37 -07:00
Frank Schroeder 49c71f923b test: drop unused code 2017-05-11 17:04:36 +02:00
James Phillips 830bc2df3b
Removes a stale comment about the RPC source address. 2017-05-10 20:45:19 -07:00
James Phillips d2fa6ba44d Update CHANGELOG.md 2017-05-10 17:02:44 -07:00
James Phillips 35f202b977 Update CHANGELOG.md 2017-05-10 17:02:34 -07:00
Frank Schroeder 3e4dc6e133 agent: use bind address as src unless INADDR_ANY
Use the bind address as source address for outgoing
RPC connections unless it is INADDR_ANY.

The current code uses the advertise address which will
not work in certain environments where the advertise
address is not routable in the network of the agent,
e.g. NAT environment, container... After all, that is
the purpose of the advertise address.

See #2822
2017-05-11 00:34:14 +02:00
Frank Schroeder 27e951d213 agent: use helper for INADDR_ANY 2017-05-11 00:34:14 +02:00
Kyle Havlovitz e5e34c0c38 Update CHANGELOG.md 2017-05-10 14:28:12 -07:00
Kyle Havlovitz 62933b0150 Update CHANGELOG.md 2017-05-10 14:27:27 -07:00
Kyle Havlovitz e4af6583f5 Add a path for transitioning to TLS on an existing cluster (#3001)
Fixes #1705
2017-05-10 14:25:48 -07:00
Frank Schroeder e13f3446ac agent: drop atlas/scada code 2017-05-10 23:06:36 +02:00
Frank Schroeder 091bea4922 test: refactor TestAgent_Leave_ACLDeny to use only one server 2017-05-10 17:42:38 +02:00
Frank Schroeder 9b161bdee3 test: use isPermissionDenied 2017-05-10 17:42:38 +02:00
Frank Schroeder 66c6362a70 test: replace blocks and comments with sub-tests 2017-05-10 17:42:38 +02:00
Frank Schroeder b6eccb51c7 test: inline request body encoding 2017-05-10 17:42:38 +02:00
Frank Schroeder 4174cc283b test: add helper for permission denied check 2017-05-10 17:42:38 +02:00
Frank Schroeder 6073c53089 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 ff561b279e Update CHANGELOG.md 2017-05-09 18:46:51 -07:00
James Phillips f31f724361 Update CHANGELOG.md 2017-05-09 11:48:23 -07:00
Kyle Havlovitz 1618f2f878 Update CHANGELOG.md 2017-05-09 11:35:24 -07:00
James Phillips 2f5cc75a4e Update CHANGELOG.md 2017-05-09 11:05:28 -07:00
James Phillips 673a038691 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 c1cbecfe18
agent: Disallow :: or [::] as advertise or advertise-wan address 2017-05-09 17:56:16 +02:00
Frank Schroeder 8821793358
agent: Disallow :: and [::] as service address 2017-05-09 17:56:15 +02:00
Frank Schroeder 66e7b414b0
agent: Disallow 0.0.0.0 as advertise or advertise-wan address
Fixes #2961
2017-05-09 17:56:15 +02:00
Frank Schroeder 5b48fec0dd
agent: Disallow 0.0.0.0 as service address
Fixes #2961
2017-05-09 17:56:15 +02:00
Cyril Gaudin cef53ee906 test: Make testserver start timeout configurable. 2017-05-09 17:48:53 +02:00
Sean Chittenden ec200c7133
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 b80633765b
Puts tree into 0.8.3 development mode. 2017-05-09 07:41:56 -07:00
James Phillips 4a0a8a94dd
Bumps Consul version to 0.8.2. 2017-05-09 07:19:02 -07:00
James Phillips 8a0bece0a8
Release v0.8.2 2017-05-09 07:04:30 -07:00
James Phillips 9c4d65c3da
Puts tree into 0.8.2 release mode. 2017-05-09 06:58:29 -07:00
James Phillips 946281b127 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 bccf493262
Fixes vet errors. 2017-05-09 06:48:52 -07:00
James Phillips 6103198732
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 21d9d984fa
Adds prepared query API to ACLs table. 2017-05-08 21:37:52 -07:00
James Phillips 62cee1b013 Merge pull request #3008 from hashicorp/d-index-enterprise-features
Add Consul Enterprise section to Docs
2017-05-08 21:15:21 -07:00