diff --git a/pkg/process/checks/enabled_checks_test.go b/pkg/process/checks/enabled_checks_test.go index 3ae06404805a5d..0a5b04cbc170fe 100644 --- a/pkg/process/checks/enabled_checks_test.go +++ b/pkg/process/checks/enabled_checks_test.go @@ -6,7 +6,6 @@ package checks import ( - "runtime" "testing" "github.com/stretchr/testify/assert" @@ -90,11 +89,7 @@ func TestConnectionsCheck(t *testing.T) { scfg.SetWithoutSource("system_probe_config.enabled", true) enabledChecks := getEnabledChecks(t, cfg, scfg) - if runtime.GOOS == "darwin" { - assertNotContainsCheck(t, enabledChecks, ConnectionsCheckName) - } else { - assertContainsCheck(t, enabledChecks, ConnectionsCheckName) - } + assertContainsCheck(t, enabledChecks, ConnectionsCheckName) }) t.Run("disabled", func(t *testing.T) {