Skip to content

Commit

Permalink
fixup: add testcase
Browse files Browse the repository at this point in the history
Signed-off-by: Florian Lehner <florian.lehner@elastic.co>
  • Loading branch information
florianl committed Nov 11, 2024
1 parent d9e3727 commit 4479caa
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions processmanager/ebpf/ebpf_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
//go:build !integration
// +build !integration

// Copyright The OpenTelemetry Authors
// SPDX-License-Identifier: Apache-2.0

Expand All @@ -27,6 +24,7 @@ func TestMapID(t *testing.T) {
0x3FF: 10, // 1023
0x400: 11, // 1024
0xFFFFF: 20, // 1048575 (2^20 - 1)
(1 << support.StackDeltaBucketLargest) - 1: support.StackDeltaBucketLargest,
}
for numStackDeltas, expectedShift := range testCases {
numStackDeltas := numStackDeltas
Expand Down

0 comments on commit 4479caa

Please sign in to comment.