Skip to content

Commit

Permalink
[CWS] skip TestAcceptEvent on ebpfless (#32813)
Browse files Browse the repository at this point in the history
  • Loading branch information
paulcacheux authored Jan 9, 2025
1 parent 4a0b879 commit 9092162
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
8 changes: 5 additions & 3 deletions pkg/security/tests/accept_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,19 @@ package tests

import (
"context"
"math/rand/v2"
"strconv"
"testing"

"github.com/DataDog/datadog-agent/pkg/security/secl/model"
"github.com/DataDog/datadog-agent/pkg/security/secl/rules"
"github.com/stretchr/testify/assert"
"golang.org/x/net/nettest"
"golang.org/x/sys/unix"
"math/rand/v2"
"strconv"
"testing"
)

func TestAcceptEvent(t *testing.T) {
SkipIfNotAvailable(t)

ruleDefs := []*rules.RuleDefinition{
{
Expand Down
1 change: 1 addition & 0 deletions pkg/security/tests/main_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ func SkipIfNotAvailable(t *testing.T) {
"TestLoginUID/login-uid-exec-test",
"TestActionKillExcludeBinary",
"~TestActionKillDisarm",
"~TestAcceptEvent",
}

if disableSeccomp {
Expand Down

0 comments on commit 9092162

Please sign in to comment.