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

Disable file watching when running tests headlessly #329

Closed
jennifer-shehane opened this issue Dec 6, 2016 · 4 comments
Closed

Disable file watching when running tests headlessly #329

jennifer-shehane opened this issue Dec 6, 2016 · 4 comments
Assignees
Labels
topic: file watching 👀 type: unexpected behavior User expected result, but got another
Milestone

Comments

@jennifer-shehane
Copy link
Member

I'm getting an ENOSPC error when running my tests headlessly using cypress ci. This is generally due to the system reaching it's limit on how many files can be watched.

Cypress should not be watching any files while running headlessly.

Screenshot of Failure
screen shot 2016-12-06 at 2 20 06 pm

@jennifer-shehane jennifer-shehane added the type: unexpected behavior User expected result, but got another label Dec 6, 2016
@shauvik
Copy link

shauvik commented Dec 7, 2016

Fyi, this is currently blocking us because the workaround[1] for increasing the watch limit isn't allowed inside docker (Read only file system for sysctl). docker build simply doesn't allow this and with docker run, requires --privileged option which is undesirable.

[1] http://stackoverflow.com/questions/16748737/grunt-watch-error-waiting-fatal-error-watch-enospc

@brian-mann
Copy link
Member

We'll get a patch out for this asap.

@brian-mann
Copy link
Member

We will have 0.18.1 tomorrow (Friday) with this fix in it.

@brian-mann
Copy link
Member

Fixed in 0.18.1.

@brian-mann brian-mann added this to the 0.18.1 milestone Dec 19, 2016
@cypress-io cypress-io locked as resolved and limited conversation to collaborators Dec 7, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
topic: file watching 👀 type: unexpected behavior User expected result, but got another
Projects
None yet
Development

No branches or pull requests

4 participants