Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve test suite to skip FD test when hitting memory limit #278

Merged
merged 1 commit into from
Dec 6, 2021

Conversation

clue
Copy link
Member

@clue clue commented Dec 6, 2021

This changeset improves the test suite to skip the FD test when hitting the memory limit. This is particularly useful when testing systems with a low memory limit in place and Docker which defaults to a very large number of FDs, thus potentially requiring a lot of memory.

The changes have been ported from reactphp/child-process#90
Builds on top of #236
Refs #277 and others

@clue clue added this to the v1.11.0 milestone Dec 6, 2021
@clue clue requested a review from WyriHaximus December 6, 2021 08:05
@WyriHaximus WyriHaximus merged commit 12a880b into reactphp:master Dec 6, 2021
@clue clue deleted the fds-tests branch December 6, 2021 09:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants