Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions pkg/sql/schema_changer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6923,8 +6923,7 @@ func TestRevertingJobsOnDatabasesAndSchemas(t *testing.T) {
go func(scStmt string) {
// This transaction will not return until the server is shutdown. Therefore,
// we run it in a separate goroutine and don't check the returned error.
sqlDB.Exec(t, `SET use_declarative_schema_changer = 'off'`)
_, _ = db.Exec(scStmt)
_, _ = db.Exec(`SET use_declarative_schema_changer = 'off'; ` + scStmt)
}(tc.scStmt)
// Verify that the job is in retry state while reverting.
const query = `SELECT num_runs > 3 FROM crdb_internal.jobs WHERE status = '` + string(jobs.StatusReverting) + `' AND description ~ '%s'`
Expand Down