Skip to content

Commit c67dcbd

Browse files
committed
roachtest: disable create_table_with_schema_locked in ORM tests
Previously, we enabled create_table_with_schema_locked by default in ORM tests in anticipation of this setting becoming the default. However, this change did not become the default in version 25.3. Additionally, we recently discovered that TRUNCATE support was incorrectly enabled when schema_locked is active. This combination led to failures in the ORM tests. To resolve these issues, this patch disables create_table_with_schema_locked when testing ORMs. Fixes: #154438 Fixes: #154431 Fixes: #154422 Fixes: #154420 Release note: None
1 parent 9ccaf4e commit c67dcbd

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

pkg/cmd/roachtest/tests/orm_helpers.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@ 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='true'`,
8180
} {
8281
if _, err := db.ExecContext(ctx, cmd); err != nil {
8382
return err

0 commit comments

Comments
 (0)