Skip to content

Commit 80b4a4f

Browse files
committed
kvserver: log final rangeID in test
It tends to change as splits happen.
1 parent d2f287f commit 80b4a4f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/kv/kvserver/replicate_queue_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2304,6 +2304,7 @@ SELECT * FROM (
23042304
if numNonVoters != 2 {
23052305
return errors.Newf("expected 2 non-voters for r%d; got %v", rangeID, numNonVoters)
23062306
}
2307+
t.Logf("success: %d has %d voters and %d non-voters", rangeID, numVoters, numNonVoters)
23072308
return nil
23082309
})
23092310

0 commit comments

Comments
 (0)