Skip to content

Commit

Permalink
fixup! xapi.conf: introduce test_open
Browse files Browse the repository at this point in the history
This commit got split between the 3 epoll PRs, and the Makefile part got missed:
f4baafa ("Test for absence of select: introduce open_1024 in tests")

The build still worked locally because I have ulimit > 1024 (and apparently in the CI too?),
but it failed in Koji where we had a 1024 limit.

Signed-off-by: Edwin Török <edwin.torok@cloud.com>
  • Loading branch information
edwintorok committed Jun 26, 2024
1 parent 27bb64a commit 84a07e0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ TEST_TIMEOUT=600
TEST_TIMEOUT2=1200
test:
ulimit -S -t $(TEST_TIMEOUT); \
ulimit -n 2048;
(sleep $(TEST_TIMEOUT) && ps -ewwlyF --forest)& \
PSTREE_SLEEP_PID=$$!; \
trap "kill $${PSTREE_SLEEP_PID}" INT TERM EXIT; \
Expand Down

0 comments on commit 84a07e0

Please sign in to comment.