Skip to content

Commit

Permalink
server: fix buglet in TestClusterIDMismatch
Browse files Browse the repository at this point in the history
It was mixing NodeIDs within a Node, which was exposed when I refactored
inspectEngines.

Release note: None
  • Loading branch information
tbg committed Apr 1, 2020
1 parent 6e9a0c5 commit 8acbab6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/server/server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -673,7 +673,7 @@ func TestClusterIDMismatch(t *testing.T) {

sIdent := roachpb.StoreIdent{
ClusterID: uuid.MakeV4(),
NodeID: roachpb.NodeID(i + 1),
NodeID: 1,
StoreID: roachpb.StoreID(i + 1),
}
if err := storage.MVCCPutProto(
Expand Down

0 comments on commit 8acbab6

Please sign in to comment.