Skip to content

Commit

Permalink
omit inconsistent partition
Browse files Browse the repository at this point in the history
  • Loading branch information
fuziontech committed Jan 3, 2024
1 parent 14ff27b commit 4a87853
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,10 @@ def test_completes_successfully(self):
"ALTER TABLE sharded_events MOVE PARTITION '190001' TO TABLE events_backup",
MIGRATION_DEFINITION.operations[1].sql, # type: ignore
)
self.assertIn(
"ALTER TABLE sharded_events MOVE PARTITION '202201' TO TABLE events_backup",
MIGRATION_DEFINITION.operations[2].sql, # type: ignore
)
# self.assertIn(
# "ALTER TABLE sharded_events MOVE PARTITION '202201' TO TABLE events_backup",
# MIGRATION_DEFINITION.operations[2].sql, # type: ignore
# )
self.assertIn(
"ALTER TABLE sharded_events MOVE PARTITION '202202' TO TABLE events_backup",
MIGRATION_DEFINITION.operations[3].sql, # type: ignore
Expand Down

0 comments on commit 4a87853

Please sign in to comment.