akshya96
87a2516e73
Fix nightly tests and debug ( #14970 )
...
* adding env var
* add fixes
* fixing debug
* removing umask from tests
2022-04-12 06:08:28 +05:30
Scott Miller
89f617a97c
Convert to Go 1.17 go:build directive ( #13579 )
2022-01-05 12:02:03 -06:00
Theron Voran
4585bdda6b
Update TestServer error string ( #12954 )
...
Update the error string expected from parsing unknown units in a
duration.
2021-10-28 11:01:18 -07:00
Rachel Culpepper
c0ada31a99
Vault-2840 Add no-op check for HTTP listener validity ( #12421 )
...
* fips tag and no-op code
* tls check
* change to error
* add tests
* add test file
* cleanup
* add changelog
* fix file difference
* remove changelog
2021-09-07 18:36:58 -04:00
Josh Black
3189526cc4
OSS parts of sighup license reload test ( #11816 )
2021-06-11 09:08:19 -07:00
Nick Cabatoff
bfae4e610b
Pull out license commands, and make the OSS changes needed for the license inspect PR in ent. ( #11783 )
2021-06-07 14:44:20 -04:00
Nick Cabatoff
56c0a67a53
OSS parts of #1903 : we'd disabled these tests on enterprise temporarily, but now we're ready to make them run there again. ( #11729 )
...
Vault cares about the VAULT_LICENSE env var, but we don't want to set that in CI because it would change behaviour of tests that don't intend for it to be set. Instead, we use VAULT_LICENSE_CI so that only packages/tests that opt-in will use it.
2021-05-31 12:08:10 -04:00
Nick Cabatoff
e212ec5d8e
OSS parts of ent PR #1857 : license autoloading init changes. ( #11623 )
2021-05-17 14:10:26 -04:00
Brian Kassouf
303c2aee7c
Run a more strict formatter over the code ( #11312 )
...
* Update tooling
* Run gofumpt
* go mod vendor
2021-04-08 09:43:39 -07:00
Brian Kassouf
10668331e4
Update go version to 1.15.3 ( #10279 )
...
* Update go version to 1.15.3
* Fix OU ordering for go1.15.x testing
* Fix CI version
* Update docker image
* Fix test
* packagespec upgrade -version 0.1.8
Co-authored-by: Sam Salisbury <samsalisbury@gmail.com>
2020-10-30 16:44:06 -04:00
Alexander Bezobchuk
479777fcfe
Merge PR #9615 : tests: attempt build tag fix
2020-07-28 21:43:14 -04:00
Jeff Mitchell
1d3d89e2aa
Create configutil and move some common config and setup functions there ( #8362 )
2020-05-14 09:19:27 -04:00
ncabatoff
d9205cd3c0
Use port 0 as the listener port so the OS assigns one not in use ( #7763 )
2019-10-30 10:36:23 -04:00
Lexman
cef2339959
removes a duplicated test case in server_test ( #6740 )
2019-05-20 09:54:41 -04:00
Lexman
b2850ac624
http timeout values are configurable ( #6666 )
...
* http timeout fields are configurable
* move return statement for server config tests outside of range loop
* adds documentation for configurable listener http_* values
* fixed some formatting for the docs markdown
2019-05-10 10:41:42 -07:00
Jeff Mitchell
8bcb533a1b
Create sdk/ and api/ submodules ( #6583 )
2019-04-12 17:54:35 -04:00
ncabatoff
1fcfcbd8f2
Receiving a SIGUSR2 makes Vault log the running goroutines' stacks. ( #6240 )
...
* Receiving a SIGUSR2 makes Vault log the running goroutines' stacks.
2019-03-15 09:27:53 -04:00
Jim Kalafut
d9d93e42a8
Fix server command test ( #5407 )
...
The addition of CheckMigration to the server startup process means
that physical backends in this test need to be able to respond to Get() without error.
2018-09-26 14:52:11 -07:00
Jim Kalafut
f03fc41ba2
Fix server test that fails build under 1.11 ( #5264 )
...
command/server_test.go:147:2: finished declared but not used
vet: typecheck failures
2018-09-04 11:35:28 -06:00
Jeff Mitchell
aec9a689a0
Sync over some stuff
2018-08-24 12:09:03 -04:00
Calvin Leung Huang
63b2698289
Do not fail if api_addr and cluster_addr are empty ( #4286 )
2018-04-05 12:54:15 -04:00
Seth Vargo
0b15e790d4
Fix bad rebase
...
Apparently I can't git...
2017-10-24 09:39:34 -04:00
Jeff Mitchell
fdaaaadee2
Migrate physical backends into separate packages ( #3106 )
2017-08-03 13:24:27 -04:00
Jeff Mitchell
1bfc6d4fe7
Add a -dev-three-node option for devs. ( #3081 )
2017-07-31 11:28:06 -04:00
Félix Cantournet
103b7ceab2
all: test: Fix govet warnings
...
Fix calls to t.Fatal() with formatting.
Fixed some calls to Fatalf() with wrong formatting
2016-12-21 19:44:07 +01:00
Jeff Mitchell
21e1f38e6a
Split HA server command tests from reload tests
2016-10-07 11:06:01 -04:00
Jeff Mitchell
85315ff188
Rejig where the reload functions live
2016-09-30 00:07:22 -04:00
Jeff Mitchell
37320f8798
Request forwarding ( #1721 )
...
Add request forwarding.
2016-08-15 09:42:42 -04:00
Jeff Mitchell
07ebfce1a4
Up sleep time during reload test to not fail under certain test conditions
2016-06-27 15:37:25 -04:00
Sean Chittenden
3977057cc9
Disable service registration for consul HA tests
2016-04-25 18:01:13 -07:00
Sean Chittenden
1f8397f0a3
Use spaces in tests to be consistent
...
The rest of the tests here use spaces, not tabs
2016-04-25 18:01:13 -07:00
Jeff Mitchell
133d9c1008
Move meta into its own package
2016-04-01 13:16:05 -04:00
Jeff Mitchell
0e3764832a
Add test for listener reloading, and update website docs.
2016-03-14 14:05:47 -04:00
Jeff Mitchell
38c51f9412
Fix build tag
2016-02-03 08:41:31 -05:00
Jeff Mitchell
7e0d4bef3e
Add test for HA availability to command/server
2016-02-02 17:47:02 -05:00
Jeff Mitchell
5ef7efffe3
Disable cmd/server tests for now so we can get Travis back on track
2015-12-31 08:48:53 -05:00
Jeff Mitchell
ced0835574
Allow separate HA physical backend.
...
With no separate backend specified, HA will be attempted on the normal
physical backend.
Fixes #395 .
2015-12-14 07:59:58 -05:00