-
Notifications
You must be signed in to change notification settings - Fork 32
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
supporting windows attempt #16
Conversation
I tried using crossSpawn. Just a note ---> crossSpawn returns a ChildProcess, so I believe you can leave you the child in child.crossSpawn(command, args). I'm running into other issues though. The retries actually start to run now, however they never exit the test run. I don't know how this can help as you don't have a windows machine to test it on. I will give it another go. |
Hi, [17:39:46] E/launcher - Error: TypeError: value.apply is not a function |
Hey, |
When can we get Windows support please |
@dreuxl we are really waiting for your fix for windows.Is there any ETA for this |
No ETA at the moment :( |
My current project is dependent on this module very badly..If I could help you in any way getting this I am happy to help @dreuxl |
Tried patching with (almost) the proposed in this PR, and I got it to retry 3 times on windows, before finally bailing out with a failure.. System info: Only change made differently, than done in this PR is that I changed line 148 here to
|
I ll try that change and see. |
@tbowmo @dreuxl - I have retried the change given with my tests in windows .I could see that the retry is running ,but all the tests which include passed tests are also running again in next attempt -----Dashboard spec.js------------ |
Did you turn on sharding? If not, then it runs all tests again.. (as per the readme file) |
Also note that I used version 6.0.5 of cross-spawn, and not 5.0.0, as you tried in the original attempt |
Yeah.You mean this shardTestFiles: true property right?? |
yup, that's the one.. and bump the "maxInstances" up a bit
|
@@ -142,7 +144,8 @@ function spawn(command, args) { | |||
debug('Command', command, args); | |||
return function() { | |||
return Q.Promise(function() { | |||
var child = childProcess.spawn(command, args); | |||
// var child = childProcess.crossSpawn(command, args); | |||
var child = child.crossSpawn(command, args); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Running this gives me Error: TypeError: Cannot read property 'crossSpawn' of undefined
Should this be crossSpawn(command, args);
instead of child.crossSpawn(command, args)
Did it fix the issue? I am still facing the issue with running all the test cases again |
closed in favor of #84 |
trying to address #13
using this pkg https://www.npmjs.com/package/cross-spawn which seems to solve windows support.
I m a bit blind in that one, as I have no windows machine to test it 🤞