Skip to content

Commit

Permalink
Merge pull request #129990 from cockroachdb/blathers/backport-release…
Browse files Browse the repository at this point in the history
…-23.1.26-rc-129983

release-23.1.26-rc: backupccl: fix TestProtectedTimestampsFailDueToLimits
  • Loading branch information
stevendanna authored Sep 2, 2024
2 parents 53c2718 + 7698c4d commit dd16ba3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/ccl/backupccl/backup_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6664,7 +6664,7 @@ func TestProtectedTimestampsFailDueToLimits(t *testing.T) {
// Creating the protected timestamp record should fail because there are too
// many spans. Ensure that we get the appropriate error.
_, err := db.Exec(`BACKUP TABLE foo, bar TO 'nodelocal://1/foo/byte-limit'`)
require.EqualError(t, err, "pq: protectedts: limit exceeded: 0+30 > 1 bytes")
require.ErrorContains(t, err, "pq: protectedts: limit exceeded")

// TODO(adityamaru): Remove in 22.2 once no records protect spans.
t.Run("deprecated-spans-limit", func(t *testing.T) {
Expand Down

0 comments on commit dd16ba3

Please sign in to comment.