Skip to content

Commit

Permalink
Merge pull request #117841 from cockroachdb/blathers/backport-release…
Browse files Browse the repository at this point in the history
…-23.1-117819

release-23.1: kv: fix assertion output in TestReplicationStatusReportIntegration
  • Loading branch information
nvanbenschoten authored Jan 17, 2024
2 parents d867f85 + ac4efa1 commit fda5668
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/kv/kvserver/reports/reporter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ func checkZoneReplication(db *gosql.DB, zoneID, total, under, over, unavailable
return fmt.Errorf("expected total: %d, got: %d", total, gotTotal)
}
if under != gotUnder {
return fmt.Errorf("expected under: %d, got: %d", total, gotUnder)
return fmt.Errorf("expected under: %d, got: %d", under, gotUnder)
}
if over != gotOver {
return fmt.Errorf("expected over: %d, got: %d", over, gotOver)
Expand Down

0 comments on commit fda5668

Please sign in to comment.