Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
116645: testutils: Fix `ExpectErrWithTimeout` function to correctly fail the test on mismatched error message r=miretskiy a=cty123 While working on something else, I noticed the `ExpectErrWithTimeout` function always pass even when the error message mismatches. After debugging, it turned out that the error is just returned from the function instead of being thrown to fail the test. So in the current code, `ExpectErrWithTimeout` never fails a test which can potentially cause serious problems if certain regression is not captured. Epic: None Release note: None Co-authored-by: cty123 <[email protected]>
- Loading branch information