Skip to content

Commit 418d095

Browse files
committed
roachtest: disable create_table_with_schema_locked for ORM tests
Previously, create_table_with_schema_locked was implicitly disabled in the ORM tests by unsetting it. Unfortunately, the CI environment uses builds with assertions enabled, which enables this setting by default. To address this, this patch explicitly disables create_table_with_schema_locked for ORM tests. Fixes: #154626 Release note: None
1 parent ee80eab commit 418d095

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/cmd/roachtest/tests/orm_helpers.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ func alterZoneConfigAndClusterSettings(
7777
`ALTER ROLE ALL SET statement_timeout = '60s'`,
7878
`ALTER ROLE ALL SET default_transaction_isolation = 'read committed'`,
7979
`ALTER ROLE ALL SET autocommit_before_ddl = 'true'`,
80+
`ALTER ROLE ALL SET create_table_with_schema_locked = 'false'`,
8081
} {
8182
if _, err := db.ExecContext(ctx, cmd); err != nil {
8283
return err

0 commit comments

Comments
 (0)