Skip to content

Commit ceddd31

Browse files
committed
sql: skip CHECK EXTERNAL CONNECTION in random syntax
This skips a test that is failing on release branches. The bug was fixed on master but the fix does not meet the new backport criteria. Release note: none Fixes: #147876 Fixes: #147877
1 parent b1aff53 commit ceddd31

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

pkg/sql/tests/rsg_test.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -343,6 +343,11 @@ func TestRandomSyntaxGeneration(t *testing.T) {
343343
if strings.Contains(s, "EXPERIMENTAL SCRUB DATABASE SYSTEM") {
344344
return errors.New("See #43693")
345345
}
346+
if strings.Contains(s, "CHECK EXTERNAL CONNECTION") {
347+
// `CHECK EXTERNAL CONNECTION` is fixed by PR #149260 on master, but the fix does not
348+
// meet the backport policy.
349+
return errors.New("See #147876")
350+
}
346351
// Recreate the database on every run in case it was renamed in
347352
// a previous run. Should always succeed.
348353
if err := db.exec(t, ctx, `CREATE DATABASE IF NOT EXISTS ident`); err != nil {

0 commit comments

Comments
 (0)