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

Zeus can't handle long commands #294

Closed
sevos opened this issue Mar 25, 2013 · 6 comments
Closed

Zeus can't handle long commands #294

sevos opened this issue Mar 25, 2013 · 6 comments

Comments

@sevos
Copy link
Collaborator

sevos commented Mar 25, 2013

Parallel tests pass list of files to rspec. Unfortunately when it tries to pass long list of files, zeus fails, you can reproduce it by just entering any of bigger project and try following command:

$ find spec/ -name *_spec.rb | wc -l
     141
$ find spec/ -name *_spec.rb | xargs zeus rspec
zeusclient.go:86: EOF

zeus start process outputs on the console:

clienthandler.go:103: write unixgram : message too long

I bypassed this by serializing list of arguments to the file and passing them directly to RSpec CLI, but I don't find it as cool solution.

@grosser
Copy link
Collaborator

grosser commented Mar 25, 2013

👍 @burke is this easy to fix ?

@andyw8
Copy link
Contributor

andyw8 commented Mar 25, 2013

Isn't this going to use massive amount of memory? As you're going to end up with one instance of your app for every spec file.

@andyw8
Copy link
Contributor

andyw8 commented Mar 25, 2013

Also, this appears to be a dupe of #254

@sevos
Copy link
Collaborator Author

sevos commented Mar 25, 2013

Isn't this going to use massive amount of memory? As you're going to end up with one instance of your app for every spec file.

@andyw8 no, why? it's just list to specs to be run by ONE rspec worker :) but the list itself might be long, what is not problem

@andyw8
Copy link
Contributor

andyw8 commented Mar 25, 2013

Sorry, I misread the command.

@conzett
Copy link

conzett commented Apr 12, 2013

Having this issue with TestUnit via guard-test as well. Same error:

12:09:28 - INFO - Using zeus to run the tests
zeusclient.go:86: EOF

In the zeus console:

clienthandler.go:103: write unixgram : message too long

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants