mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-07-18 13:57:38 +00:00
Bumping to 5 is useful in unit tests. Those tend to not produce less output and ideally use per-test output, so we end up keeping only the output of failed tests where increased verbosity also in CI runs is useful. But ktesting now also gets imported into e2e test binaries through the framework. There the increased verbosity is apparently causing OOM killing in some jobs which previously worked fine. Long term we need a better solution than simply disabling the verbosity change. We could modify each unit test to call SetDefaultVerbosity, but that's tedious. Perhaps an env variable? It cannot be a command line flag because not all unit tests accept `-v`.