mirror of
https://github.com/micropython/micropython.git
synced 2026-01-08 05:00:26 +01:00
tools/ci.sh: Set ulimit -n for unix CI.
Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
This commit is contained in:
committed by
Damien George
parent
8b24aa36ba
commit
74fd7b3d32
@@ -35,7 +35,8 @@ poller.register(1, select.POLLIN)
|
||||
print(poller.poll(0))
|
||||
|
||||
# Test registering a very large number of file descriptors (will trigger
|
||||
# EINVAL due to more than OPEN_MAX fds).
|
||||
# EINVAL due to more than OPEN_MAX fds). Typically it's 1024 (and on GitHub CI
|
||||
# we force this via `ulimit -n 1024`).
|
||||
poller = select.poll()
|
||||
for fd in range(6000):
|
||||
poller.register(fd)
|
||||
|
||||
Reference in New Issue
Block a user