We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
ulimit -n
1 parent 8b24aa3 commit 74fd7b3Copy full SHA for 74fd7b3
tests/extmod/select_poll_fd.py
@@ -35,7 +35,8 @@
35
print(poller.poll(0))
36
37
# Test registering a very large number of file descriptors (will trigger
38
-# EINVAL due to more than OPEN_MAX fds).
+# EINVAL due to more than OPEN_MAX fds). Typically it's 1024 (and on GitHub CI
39
+# we force this via `ulimit -n 1024`).
40
poller = select.poll()
41
for fd in range(6000):
42
poller.register(fd)
tools/ci.sh
@@ -6,6 +6,9 @@ else
6
MAKEOPTS="-j$(sysctl -n hw.ncpu)"
7
fi
8
9
+# Ensure known OPEN_MAX (NO_FILES) limit.
10
+ulimit -n 1024
11
+
12
########################################################################################
13
# general helper functions
14
0 commit comments