Skip to content

Commit 8aaa6d5

Browse files
committed
skip non-linux
1 parent 0ced5ce commit 8aaa6d5

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

agent/agent_test.go

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2406,6 +2406,10 @@ func TestAgent_ManageProcessPriority(t *testing.T) {
24062406
t.Run("OK", func(t *testing.T) {
24072407
t.Parallel()
24082408

2409+
if runtime.GOOS != "linux" {
2410+
t.Skip("Skipping non-linux environment")
2411+
}
2412+
24092413
var (
24102414
expectedProcs = map[int32]agentproc.Process{}
24112415
fs = afero.NewMemMapFs()
@@ -2469,6 +2473,10 @@ func TestAgent_ManageProcessPriority(t *testing.T) {
24692473
t.Run("IgnoreCustomNice", func(t *testing.T) {
24702474
t.Parallel()
24712475

2476+
if runtime.GOOS != "linux" {
2477+
t.Skip("Skipping non-linux environment")
2478+
}
2479+
24722480
var (
24732481
expectedProcs = map[int32]agentproc.Process{}
24742482
fs = afero.NewMemMapFs()

0 commit comments

Comments
 (0)