Commit Graph

51 Commits (ce44f6f60473a67079e09a655b44f2a1b056a45a)

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
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 5a61893642 testing: use httptest with freeport
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
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
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
John Eikenberry 1266bfd65b [SDK] change all cases of *testing.T to testing.TB
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
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
Paul Banks 1807af552e
Fix TestAPI_DiscoveryChain_Get flake (#7082)
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
Matt Keeler 3145bf5230 Centralized Config CLI (#5731)
6 years ago