Skip to content

Commit

Permalink
chore: fix slow running intel-pmu test (#10859)
Browse files Browse the repository at this point in the history
  • Loading branch information
powersj authored Mar 24, 2022
1 parent 58a69d4 commit c2277fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/inputs/intel_pmu/intel_pmu_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ func TestEstimateCoresFd(t *testing.T) {
{parsedEvents: makeEvents(2, 1), parsedCores: makeIDs(20)},
}, 715},
{"1024 events", []*CoreEventEntity{{parsedEvents: makeEvents(1024, 1), parsedCores: makeIDs(12)}}, 12288},
{"big number", []*CoreEventEntity{{parsedEvents: makeEvents(1048576, 1), parsedCores: makeIDs(1024)}}, 1073741824},
{"big number", []*CoreEventEntity{{parsedEvents: makeEvents(1024, 1), parsedCores: makeIDs(1048576)}}, 1073741824},
}

for _, test := range tests {
Expand Down

0 comments on commit c2277fa

Please sign in to comment.