Skip to content

feat: implement agent process management #9461

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 21 commits into from
Sep 15, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
skip non-linux
  • Loading branch information
sreya committed Sep 13, 2023
commit 0ced5ce78b14da34d90a18e302a3e859618969d9
9 changes: 9 additions & 0 deletions agent/agentproc/proc_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package agentproc_test

import (
"fmt"
"runtime"
"strings"
"syscall"
"testing"
Expand All @@ -18,6 +19,10 @@ import (
func TestList(t *testing.T) {
t.Parallel()

if runtime.GOOS != "linux" {
t.Skipf("skipping non-linux environment")
}

t.Run("OK", func(t *testing.T) {
t.Parallel()

Expand Down Expand Up @@ -128,6 +133,10 @@ func TestList(t *testing.T) {
func TestProcess(t *testing.T) {
t.Parallel()

if runtime.GOOS != "linux" {
t.Skipf("skipping non-linux environment")
}

t.Run("SetOOMAdj", func(t *testing.T) {
t.Parallel()

Expand Down