Commit Graph

68 Commits (0378372bde902dec848ffb4b067aefda393b1b5a)

Author SHA1 Message Date
R.B. Boyer 0d6d16ddfb
add general runstep test helper instead of copying it all over the place (#13013)
3 years ago
DanStough 95250e7915 Update go version to 1.18.1
3 years ago
R.B. Boyer 80dfcb1bcd
raft: update to v1.3.5 (#12325)
3 years ago
Daniel Nephin b058845110 sdk: add TestLogLevel for setting log level in tests
3 years ago
Ashwin Venkatesh 7568f3a102
Add support for 'Partition' and 'RetryJoin' (#12126)
3 years ago
Dan Upton ca3aca92c4
[OSS] Remove remaining references to master (#11827)
3 years ago
Daniel Nephin 4185045a7f sdk/freeport: rename Port to GetOne
3 years ago
Daniel Nephin ba41db5c4e sdk: upgrade freeport godoc
3 years ago
Daniel Nephin 5a61893642 testing: use httptest with freeport
3 years ago
Daniel Nephin 8c7475d95e sdk: add freeport functions that use t.Cleanup
3 years ago
R.B. Boyer 1e02460bd1
re-run gofmt on 1.17 (#11579)
3 years ago
Nitya Dhanushkodi 139c4eb844
command/redirect_traffic: Redirect DNS requests to Consul if -consul-dns-ip is passed in (#11480)
3 years ago
FFMMM 4ddf973a31
add root_cert_ttl option for consul connect, vault ca providers (#11428)
3 years ago
Freddy e18f3c1f6d
Update error texts (#11022)
3 years ago
Sergey Matyukevich 06f3ccebce
Allow configuring graceful stop in testutil (#10566)
3 years ago
Iryna Shustava 95305881ce
cli/sdk: Allow applying redirect-traffic rules in a provided Linux namespace (#10564)
3 years ago
R.B. Boyer d7fb3543fc
sdk: Stop making a special /tmp/consul-test directory for testutil.TempFile and testutil.TempDir (#10494)
3 years ago
David Bariod 797bfb7b51
remove a race condition in sdk testutil server stop (#10342)
4 years ago
Matt Keeler caafc02449 hcs-1936: Prepare for adding license auto-retrieval to auto-config in enterprise
4 years ago
Matt Keeler 234d0a3c2a Preparation for changing where license management is done.
4 years ago
Daniel Nephin 1618912cf6 Fix some test flakes
4 years ago
Iryna Shustava 8dffb89131
Implement traffic redirection exclusion based on proxy config and user-provided values (#10134)
4 years ago
Daniel Nephin 3a27fce2ad submatview: fix godoc and comment typos
4 years ago
Daniel Nephin a2986ebb9c sdk/retry: support ending the iteration early
4 years ago
Daniel Nephin 034c5c5f8c sdk/retry: remove the need to pass args to NextOr
4 years ago
Daniel Nephin 5de0a452cf sdk/retry: a few small debug improvements
4 years ago
Iryna Shustava 5755c97bc7
cli: Add new `consul connect redirect-traffic` command for applying traffic redirection rules when Transparent Proxy is enabled. (#9910)
4 years ago
John Eikenberry 1266bfd65b [SDK] change all cases of *testing.T to testing.TB
4 years ago
Shengjing Zhu b931e989b8 sdk: read procfs instead of using sysctl command
4 years ago
R.B. Boyer a2a8e9c783
connect: intentions are now managed as a new config entry kind "service-intentions" (#8834)
4 years ago
Paul Burlumi bb2b5dd871 testutil: use TestingTB instead of testing.TB
4 years ago
R.B. Boyer 7cde9c6788
sdk: also print test agent logs in verbose mode (#8616)
4 years ago
Daniel Nephin 51b08c645b
Merge pull request #8514 from hashicorp/dnephin/testing-improvements-1
4 years ago
Daniel Nephin 16217fe9b9 testing: use t.Cleanup in testutil.TempFile
4 years ago
Daniel Nephin 587dcebfca Use t.Helper in testutil/retry
4 years ago
Daniel Nephin 070e843113 testutil: Add t.Cleanup to TempDir
4 years ago
Daniel Nephin fe2f80c3a1 Use SIGABRT to get a stack trace when the timeout is hit
4 years ago
Daniel Nephin 8e67d8eaeb sdk: mitigate api test timeout
4 years ago
Daniel Nephin 51efba2c7d testutil: NewLogBuffer - buffer logs until a test fails
4 years ago
Iryna Shustava 03366573d7
sdk: Use /v1/status/leader endpoint when starting a test server (#8192)
4 years ago
R.B. Boyer ffb9c7d6f7
acl: remove the deprecated `acl_enforce_version_8` option (#7991)
5 years ago
R.B. Boyer b282268408
sdk: extracting testutil.RequireErrorContains from various places it was duplicated (#7753)
5 years ago
Pierre Souchay 5703aadb59
[BUGFIX] Fix race condition in freeport (#7567)
5 years ago
Pierre Souchay 952b60abaa
Proper detection of ephemeral ports on Mac OS (#7539)
5 years ago
Daniel Nephin 3f8578f1e1 ci: Use golangci-lint for linting
5 years ago
Matt Keeler dfb0177dbc
Testing updates to support namespaced testing of the agent/xds… (#7185)
5 years ago
Chris Piraino 401221de58
Allow users to configure either unstructured or JSON logging (#7130)
5 years ago
Matt Keeler b57c2b78fd
Unflake the TestAPI_AgentConnectCALeaf test (#7142)
5 years ago
Chris Piraino 336f62fa99
Fix up formatting in sdk package (#7109)
5 years ago
Song Yihan 04305be555 tests: fix zombie consul process while invoking TestServer.Stop() method in sdk/testutil in Windows (#6032)
5 years ago