Commit Graph

52 Commits (ec6da0859d6d0e781daff58754f0dad29a04c4d9)

Author SHA1 Message Date
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
R.B. Boyer 4af5c2d6dd
fix the submodule go.mod and go.sum files (#7098)
5 years ago
Paul Banks 1807af552e
Fix TestAPI_DiscoveryChain_Get flake (#7082)
5 years ago
Hans Hasselberg 804eb17094
connect: check if intermediate cert needs to be renewed. (#6835)
5 years ago
John Eikenberry fe66af87df change sysctl call to use absolute path
5 years ago
Mike Morris 1112c696cf
sdk: add NewTestServerT, deprecate NewTestServer (#6761)
5 years ago
R.B. Boyer 274b5a46b3
sdk: ignore panics due to stray goroutines logging after a test completes (#6632)
5 years ago
Matt Keeler b9fe39d5aa
Nil checks in the testWriter to prevent using a bad testing.TB (#6517)
5 years ago
Matt Keeler 6d4930da93
Dont crash in the testutil server creation (#6516)
5 years ago
R.B. Boyer f74244dde8 api/watch: reduce timing dependence on tests of watch behavior
5 years ago
R.B. Boyer f9496dc627 sdk: add freelist tracking and ephemeral port range skipping to freeport
5 years ago
Mike Morris 65be58703c
connect: remove managed proxies (#6220)
5 years ago
Alvin Huang ef6b80bab2 resolve circleci config conflicts
5 years ago
Christian Muehlhaeuser 7753b97cc7 Simplified code in various places (#6176)
5 years ago
Jack Pearkes 338aed32af Merge branch 'master' into release/1-6
5 years ago
Matt Keeler 4728329aeb
Various Gateway Fixes (#6093)
5 years ago
Freddy 0b9111714b
Update TestServer creation in sdk/testutil (#6084)
5 years ago