[tests] Use the TestCA context in all the manager tests in manager_test.go#2269
Conversation
…o that we can log the test name in the output. Signed-off-by: Ying Li <ying.li@docker.com>
Codecov Report
@@ Coverage Diff @@
## master #2269 +/- ##
==========================================
- Coverage 60.36% 60.34% -0.02%
==========================================
Files 125 125
Lines 20394 20394
==========================================
- Hits 12311 12307 -4
+ Misses 6694 6690 -4
- Partials 1389 1397 +8 |
|
LGTM As a random aside, when I was making the changes that caused the tests to run on a ram disk in CI, I noticed that my test runs were leaving behind temporary directories. My first suspicion was that we were forgetting some It may be that in some tests, the directories get recreated after I can reproduce the leakage locally, and I see a directory from |
|
@aaronlehmann Thanks, I'll see if I can figure out what's causing those |
So that the test names are displayed in the test output. This was useful for debugging manage test failures.