Skip to content

Commit

Permalink
test fix
Browse files Browse the repository at this point in the history
Signed-off-by: Pushkar Mishra <[email protected]>
  • Loading branch information
Pushkarm029 committed May 11, 2024
1 parent bdf3e5a commit 4a4039d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions plugin/sampling/strategystore/adaptive/aggregator_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ func TestAggregator(t *testing.T) {
mockStorage := &mocks.Store{}
mockStorage.On("InsertThroughput", mock.AnythingOfType("[]*model.Throughput")).Return(nil)
mockEP := &epmocks.ElectionParticipant{}
// mockEP.On("Start").Return(nil)
// mockEP.On("Close").Return(nil)
// mockEP.On("IsLeader").Return(true)
mockEP.On("Start").Return(nil)
mockEP.On("Close").Return(nil)
mockEP.On("IsLeader").Return(true)
cfg := Options{
CalculationInterval: time.Second * 1,
AggregationBuckets: 1,
Expand Down

0 comments on commit 4a4039d

Please sign in to comment.