Skip to content

Commit

Permalink
backupccl: check crdb_internal.invalid_objects is empty after restore…
Browse files Browse the repository at this point in the history
…-mid-schema-change tests

Release notes: none.
  • Loading branch information
dt committed Jul 25, 2022
1 parent 878aa25 commit 11718f3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/ccl/backupccl/restore_mid_schema_change_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -223,5 +223,6 @@ func restoreMidSchemaChange(
// adding spans.
sqlDB.CheckQueryResultsRetry(t, "SELECT * FROM crdb_internal.jobs WHERE job_type = 'SCHEMA CHANGE' AND NOT (status = 'succeeded' OR status = 'failed')", [][]string{})
verifyMidSchemaChange(t, schemaChangeName, kvDB, sqlDB)
sqlDB.CheckQueryResultsRetry(t, "SELECT * from crdb_internal.invalid_objects", [][]string{})
}
}

0 comments on commit 11718f3

Please sign in to comment.