Skip to content

Commit 4f82fe7

Browse files
committed
changefeedccl: accept "invalid escape string" as valid pg error
The TestChangefeedRandomExpressions test could fail if sqlsmith generated a query including not_similar_to_escape with certain regexs. Treat this error the same as "invalid regular expression" and add it to the list of valid errors. Fixes: #143589 Release note: None
1 parent d074347 commit 4f82fe7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/ccl/changefeedccl/changefeed_test.go

+1
Original file line numberDiff line numberDiff line change
@@ -1355,6 +1355,7 @@ func TestChangefeedRandomExpressions(t *testing.T) {
13551355
"cannot subtract infinite dates",
13561356
"regexp compilation failed",
13571357
"invalid regular expression",
1358+
"invalid escape string",
13581359
"error parsing GeoJSON",
13591360
"error parsing EWKT",
13601361
"geometry type is unsupported",

0 commit comments

Comments
 (0)