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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy