Detect test packages that do not call `testhelper.Configure()`
We recently had a production incident due to leaking Goroutines. Theoretically, our test suite has logic in place to detect this, which is getting set up by calling testhelper.Configure()
. The package in question did not do this though, and thus the leak went undetected.
We should investigate whether we can amend our own custom linter to detect missing calls to testhelper.Configure()
in TestMain()
to avoid such issues going forward.