teleport/lib/proxy
Jakub Nyckowski 9379243390
Use pre-generated RSA keys in tests (#18750)
Many of our tests (db package, I'm looking at you) generate many RSA keys. This has two main side effects; makes our tests slow and flaky as CPU usage spikes in random moments when the tests are run in parallel.
This change pre-generates RSA keys at the beginning of each test module and reuse them in randomized order to reduce the situation that one key has been used multiple times in one test.
I had to move a few files to avoid circular dependencies.
2022-12-05 19:33:49 +00:00
..
clusterdial Make proxy routing logic reusable (#18370) 2022-11-18 13:11:32 +00:00
peer Use pre-generated RSA keys in tests (#18750) 2022-12-05 19:33:49 +00:00
router.go Make proxy routing logic reusable (#18370) 2022-11-18 13:11:32 +00:00
router_test.go Make proxy routing logic reusable (#18370) 2022-11-18 13:11:32 +00:00