Skip to content

Commit

Permalink
Add sanity check assertion (#1570)
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoPolo authored May 31, 2022
1 parent 5c297a8 commit 706d13b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions p2p/net/connmgr/decay_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ func TestLinearDecayOverwrite(t *testing.T) {
_ = tag1.Bump(id, 1000)
waitForTag(t, mgr, id)

require.Equal(t, 1000, mgr.GetTagInfo(id).Value)
mockClock.Add(250 * time.Millisecond)
require.Equal(t, 500, mgr.GetTagInfo(id).Value)

Expand Down

0 comments on commit 706d13b

Please sign in to comment.