From 4a4039dea86105c82127e7710c02a11c4d897b6f Mon Sep 17 00:00:00 2001 From: Pushkar Mishra Date: Sun, 12 May 2024 01:40:36 +0530 Subject: [PATCH] test fix Signed-off-by: Pushkar Mishra --- plugin/sampling/strategystore/adaptive/aggregator_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugin/sampling/strategystore/adaptive/aggregator_test.go b/plugin/sampling/strategystore/adaptive/aggregator_test.go index 308cc37f4fe..a54e30d882c 100644 --- a/plugin/sampling/strategystore/adaptive/aggregator_test.go +++ b/plugin/sampling/strategystore/adaptive/aggregator_test.go @@ -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,