Skip to content

Commit 7962f01

Browse files
committed
roachtest: fix test failure in DSC compat test
The test was failing since it was renaming a table that is used by a view. Release note: None
1 parent 881d2d7 commit 7962f01

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/cmd/roachtest/tests/mixed_version_job_compatibility_in_declarative_schema_changer.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,8 @@ func executeSupportedDDLs(
116116
// DDLs supported in V25_4.
117117
v254DDLs := []string{
118118
`TRUNCATE testdb.testsc.t3`,
119-
`ALTER TABLE testdb.testsc.t RENAME TO t_renamed`,
120-
`ALTER TABLE testdb.testsc.t_renamed RENAME TO t`,
119+
`ALTER TABLE testdb.testsc.t2 RENAME TO t2_renamed`,
120+
`ALTER TABLE testdb.testsc.t2_renamed RENAME TO t2`,
121121
`ALTER TABLE testdb.testsc.t2 ALTER COLUMN j SET ON UPDATE j + 1`,
122122
`ALTER TABLE testdb.testsc.t2 RENAME COLUMN k TO k_renamed`,
123123
`ALTER TABLE testdb.testsc.t2 RENAME COLUMN k_renamed TO k`,

0 commit comments

Comments
 (0)