Skip to content

Commit

Permalink
Fix the test name so it runs
Browse files Browse the repository at this point in the history
  • Loading branch information
algonautshant committed Jun 15, 2021
1 parent 4aa0f48 commit 9d8a460
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions catchup/peerSelector_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -422,8 +422,8 @@ func TestPenalty(t *testing.T) {
require.Equal(t, counters[4], 0)
}

// TestpeerDownloadDurationToRank tests all the cases handled by peerDownloadDurationToRank
func TestpeerDownloadDurationToRank(t *testing.T) {
// TestPeerDownloadDurationToRank tests all the cases handled by peerDownloadDurationToRank
func TestPeerDownloadDurationToRank(t *testing.T) {

peers1 := []network.Peer{&mockHTTPPeer{address: "a1"}, &mockHTTPPeer{address: "a2"}, &mockHTTPPeer{address: "a3"}}
peers2 := []network.Peer{&mockHTTPPeer{address: "b1"}, &mockHTTPPeer{address: "b2"}}
Expand Down

0 comments on commit 9d8a460

Please sign in to comment.