teleport/integration
Trent Clarke 9514a313c3
Break DB integration tests out into their own package (#16133)
Making all of our integration tests run in entirely parallel requires
a large engineering effort to enforce test isolation and remove all race
conditions between tests.

A lower-effort alternative may be to split apart the various test suites
into their own Go packages, and test those packages in parallel, even if
the tests inside are still executed serially. Auditing the test suites
for races on system-level resources (e.g. files, ports) is much easier
than chasing down every p[ossible race in the testing system.

This patch acts as a trial run, breaking a fairly well-defined and
self-contained test suite out into its own package. Note that the goal of
this change is not necessarily to shave minutes off the build (although
that would be nice), but to act as an illustration of how other, less
well-formed test suites might be broken apart.

See-Also: #12421
See-Also: #14408
2022-09-07 11:04:35 +10:00
..
db Break DB integration tests out into their own package (#16133) 2022-09-07 11:04:35 +10:00
helpers Break DB integration tests out into their own package (#16133) 2022-09-07 11:04:35 +10:00
hsm Use a getter/setter for reading the token value from the config (#14080) 2022-08-10 08:50:21 +00:00
agent_forwarding_test.go Security fixes (#13298) 2022-06-08 18:12:45 +00:00
app_integration_test.go (buddy) Pass JWT headers on websocket requests (#15667) 2022-08-22 20:43:50 +00:00
client_test.go Break DB integration tests out into their own package (#16133) 2022-09-07 11:04:35 +10:00
ec2_test.go Deflake TestEC2Hostname (#15794) 2022-08-24 17:17:58 +00:00
hostuser_test.go Remove centralised port allocation for tests (#13658) 2022-07-20 12:04:54 +10:00
integration.go Break DB integration tests out into their own package (#16133) 2022-09-07 11:04:35 +10:00
integration_test.go Break DB integration tests out into their own package (#16133) 2022-09-07 11:04:35 +10:00
kube_integration_test.go Add Teleport operator 2022-07-25 15:27:10 -04:00
main_test.go Break DB integration tests out into their own package (#16133) 2022-09-07 11:04:35 +10:00
port_forwarding_test.go Remove legacy session service (#15155) 2022-08-12 16:39:45 +00:00
proxy_helpers_test.go ALPN connection upgrade for MySQL behind ALB (#15669) 2022-09-01 16:05:03 +00:00
proxy_test.go Break DB integration tests out into their own package (#16133) 2022-09-07 11:04:35 +10:00
proxy_tunnel_strategy_test.go Break DB integration tests out into their own package (#16133) 2022-09-07 11:04:35 +10:00
terminal_test.go Remove centralised port allocation for tests (#13658) 2022-07-20 12:04:54 +10:00
utmp_integration_test.go Remove legacy session service (#15155) 2022-08-12 16:39:45 +00:00