Skip to content

Commit 66262a4

Browse files
committed
skip slow ulimit test with -short
1 parent 89db3c2 commit 66262a4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ulimit_linux_test.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ func init() {
3232
}
3333

3434
func TestWithLowOpenFileLimit(t *testing.T) {
35+
if testing.Short() {
36+
t.Skip("this test creates thousands of files")
37+
}
3538
// Safe to run in parallel, as we only change the limit for child processes.
3639
t.Parallel()
3740

0 commit comments

Comments
 (0)