We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5624262 commit ea8ad1eCopy full SHA for ea8ad1e
benchmark/helpers_unix_test.go
@@ -4,6 +4,7 @@
4
package benchmark
5
6
import (
7
+ "os"
8
"os/exec"
9
"runtime"
10
"syscall"
@@ -14,7 +15,17 @@ import (
14
15
16
type LogLevel int
17
18
+// isGitHubCI returns true if running in GitHub Actions CI environment
19
+func isGitHubCI() bool {
20
+ return os.Getenv("GITHUB_ACTIONS") == "true"
21
+}
22
+
23
func TestAdjustFilenoUlimit(t *testing.T) {
24
+ // Skip test in GitHub Actions
25
+ if isGitHubCI() {
26
+ t.Skip("Skipping file limit test in GitHub Actions CI")
27
+ }
28
29
b := &Benchmark{
30
Logger: logger.NewPlaneLogger(logger.LevelDebug, true),
31
}
0 commit comments