Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
117137: cli: remove `t` field from `TestCLI` usage r=abarganier a=dhartunian Currently, these tests fail in CI with a nil pointer at runtime when we call `c.t.Fail` when an error is produced. This change removes the sharing of the `t` variable with `TestCLI` since it seems to result in a conflict between the outer test code and what runs inside `RunWithCapture`. I was unable to reproduce the error locally and do not have further clues. My hope is that, the simplified error handling will surface the actual error in CI instead of the continued nil pointer exception. Resolves: #116228 Epic: None Release note: None Co-authored-by: David Hartunian <[email protected]>
- Loading branch information