Skip to content

Commit 53d629f

Browse files
committed
update new use of monotonous counter
1 parent 5334c19 commit 53d629f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

network/test/cohort1/network_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,7 @@ func (suite *NetworkTestSuite) TestUnicastRateLimit_Bandwidth() {
484484
_, err = newNet.Register(channels.TestNetworkChannel, newEngine)
485485
require.NoError(suite.T(), err)
486486

487-
callCount := counters.NewMonotonousCounter(0)
487+
callCount := counters.NewMonotonicCounter(0)
488488
newEngine.On("Process", channels.TestNetworkChannel, suite.ids[0].NodeID, mockery.Anything).Run(func(args mockery.Arguments) {
489489
_ = callCount.Increment()
490490
}).Return(nil)

0 commit comments

Comments
 (0)