Skip to content

Commit

Permalink
Merge pull request #105061 from cockroachdb/blathers/backport-release…
Browse files Browse the repository at this point in the history
…-22.2-98082

release-22.2: spanconfig: deflake spanconfigreconcilerccl/TestDataDriven
  • Loading branch information
irfansharif authored Jun 27, 2023
2 parents 1090bb3 + 2078e33 commit 6030b8d
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions pkg/ccl/spanconfigccl/spanconfigreconcilerccl/testdata/protectedts
Original file line number Diff line number Diff line change
Expand Up @@ -124,16 +124,23 @@ state limit=2
/System/NodeLiveness{-Max} ttl_seconds=600 num_replicas=5
...

# Take another look at the remaining protected spans.
state offset=51
----
...
/Table/10{6-7} protection_policies=[{ts: 3} {ts: 4}]
/Table/10{7-8} protection_policies=[{ts: 3} {ts: 4}]

# Release the schema object records.
release record-id=3
----

release record-id=4
----

mutations
# Observe that they're no longer protected.
state offset=51
----
delete /Table/10{6-7}
upsert /Table/10{6-7} range default
delete /Table/10{7-8}
upsert /Table/10{7-8} range default
...
/Table/10{6-7} range default
/Table/10{7-8} range default

0 comments on commit 6030b8d

Please sign in to comment.