Skip to content

Commit 28c1d2d

Browse files
committed
fix TestAddIndexFinishImportError
1 parent 41a76ff commit 28c1d2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/ddl/ingest/backend.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ func (bc *litBackendCtx) FinishImport(indexID int64, unique bool, tbl table.Tabl
146146
}
147147

148148
failpoint.Inject("mockFinishImportErr", func() {
149-
failpoint.Return(fmt.Errorf("mock finish import error"))
149+
failpoint.Return(fmt.Errorf("ErrMockRetryable"))
150150
})
151151

152152
// Check remote duplicate value for the index.

0 commit comments

Comments
 (0)