Skip to content

Integration tests fail on MacOS with Too many open files (os error 24) #13042

@jedesroches

Description

@jedesroches

Summary

When running the integrationt tests on MacOs, tests start failing with Too many open files (os error 24) errors. It is of course possible to raise the limit via sysctl's and ulimit calls, but it is a bit confusing that tests would fail on a "default" setup...

Reproduction Steps

I tried this:

  1. git clone git@github.com:helix-editor/helix
  2. (dev shell stuff)
  3. cargo integration-test

I expected this to happen:

The tests to be ran.

Instead, this happened:

---- test::commands::surround_replace_ts stdout ----
Error: build signal handler

Caused by:
    Too many open files (os error 24)

Stack backtrace:
[...]

And about 50 similar failures (including the hello world).

Helix log

N/A

Platform

macOS

Terminal Emulator

alacritty 0.14.0

Installation Method

nixpkgs

Helix Version

master (1955883)

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions