Skip to content

Commit 59221d2

Browse files
committed
changefeedccl: ignore context canceled error in tests
context canceled errors is causing flakes in tests, and should be ignored. Fixes: #151726 #152510 Release note: None
1 parent ee0bb8f commit 59221d2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/ccl/changefeedccl/helpers_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -938,6 +938,7 @@ func requireNoFeedsFail(t *testing.T) (fn updateKnobsFn) {
938938
`connection reset by peer`,
939939
`knobs.RaiseRetryableError`,
940940
`test error`,
941+
`context canceled`,
941942
}
942943
shouldIgnoreErr := func(err error) bool {
943944
if err == nil || errors.Is(err, context.Canceled) {

0 commit comments

Comments
 (0)