-
Notifications
You must be signed in to change notification settings - Fork 250
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
Can't start 8 parallel browsers on 8 cores CPU #215
Comments
@zxxc thanks for creating this issue. I think the problem is not that there are 8 child processes starting up, rather Stryker is trying to copy all files into 8 sandboxes at once (without using graceful-fs or something like that). We should make sure that small file system issues do not result in a crash of Stryker. |
@zxxc how did you test it? Because its not released yet. Still hoping that it will work. |
i've made a clone from git for stryker and stryker-api and copied all files into node_modules/ in my project directory and run with first part of my files (11 000 mutations) What should i do to test your fix correctly? I tried to find 'graceful' in node_modules/stryker this is result (to be sure that your changes is on a right place): |
Is it helps us if we will create one file with all my js code after stryker collect coverage and before stryker will run my 8 browsers? |
I see what the problem is. You forgot to build the typescript files. The best thing you can do is:
If you do the search for Running on 32 cores would be awesome. Probably you would want to limit the concurrency a bit, maybe put it on 20 or something. |
|
@zxxc very cool stuff!! Can we close this issue? |
@zxxc on a side note: could you PM me your home address and t-shirt size? So we can send you a t-shirt: https://stryker-mutator.github.io/images/stryker-t-shirt.png |
yeah, we can close this issue |
Great to hear that you got it working!! |
We have about 190 js files with unit test and on windows 10 x64 i7 8 cores 32gb ram
stryker tries to start 8 chromes in parallel and fails with exception that number of opened files is exceeded
i've tried to find a way to increase this limit, but no luck
https://social.technet.microsoft.com/Forums/office/en-US/f2bc07f5-5a2d-40ef-b6f1-7957581bd74c/increasing-the-maximum-open-files-per-session-limit?forum=winserverfiles
for now i fixed it with maxConcurrentTestRunners:5 and CPU load on my PC is about 90-95%
i want to create separate build plan on CI to create reports on weekends and our server much more powerful than my PC
for future maybe it will be acceptable to combine such files into one before start browsers with mutations or smth like that
The text was updated successfully, but these errors were encountered: