Skip to content
Merged
Changes from all commits
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
11 changes: 11 additions & 0 deletions benchmark/helpers_unix_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
package benchmark

import (
"os"
"os/exec"
"runtime"
"syscall"
Expand All @@ -14,7 +15,17 @@ import (

type LogLevel int

// isGitHubCI returns true if running in GitHub Actions CI environment
func isGitHubCI() bool {
return os.Getenv("GITHUB_ACTIONS") == "true"
}

func TestAdjustFilenoUlimit(t *testing.T) {
// Skip test in GitHub Actions
if isGitHubCI() {
t.Skip("Skipping file limit test in GitHub Actions CI")
}

b := &Benchmark{
Logger: logger.NewPlaneLogger(logger.LevelDebug, true),
}
Expand Down
Loading