Skip to content

Commit

Permalink
Update requestmanager/requestmanager_test.go
Browse files Browse the repository at this point in the history
Co-authored-by: Will <will.scott@protocol.ai>
  • Loading branch information
hannahhoward and willscott committed Sep 27, 2021
1 parent ffb1d5a commit 5e9dd10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion requestmanager/requestmanager_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ func readNNetworkRequests(ctx context.Context,
testutil.AssertReceive(ctx, t, requestRecordChan, &rr, fmt.Sprintf("did not receive request %d", i))
requestRecords = append(requestRecords, rr)
}
// because or the simultaneous request queues it's possible for the requests to go to the network layer out of order
// because of the simultaneous request queues it's possible for the requests to go to the network layer out of order
// if the requests are queued at a near identical time
sort.Slice(requestRecords, func(i, j int) bool {
return requestRecords[i].gsr.ID() < requestRecords[j].gsr.ID()
Expand Down

0 comments on commit 5e9dd10

Please sign in to comment.