We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 478d57c commit 0ced5ceCopy full SHA for 0ced5ce
agent/agentproc/proc_test.go
@@ -2,6 +2,7 @@ package agentproc_test
2
3
import (
4
"fmt"
5
+ "runtime"
6
"strings"
7
"syscall"
8
"testing"
@@ -18,6 +19,10 @@ import (
18
19
func TestList(t *testing.T) {
20
t.Parallel()
21
22
+ if runtime.GOOS != "linux" {
23
+ t.Skipf("skipping non-linux environment")
24
+ }
25
+
26
t.Run("OK", func(t *testing.T) {
27
28
@@ -128,6 +133,10 @@ func TestList(t *testing.T) {
128
133
func TestProcess(t *testing.T) {
129
134
130
135
136
137
138
139
131
140
t.Run("SetOOMAdj", func(t *testing.T) {
132
141
142
0 commit comments