Open neuzebeoneclass opened 8 years ago
idk why this happens ... also don't have the time to debug this atm, if you find any more insight or even a fix, please update!
@neuzebeoneclass ever figured out the issue? I'm having the same problem.
I am also getting the same error
Parallel::DeadWorker (Parallel::DeadWorker):
fatal: No live threads left. Deadlock? 2 threads, 2 sleeps current
Anyone can help me to resolve this? Thanks in advance.....
@jmaheshkumar Were you able to solve the issue? I'm having the same issue.
Thanks. Taiwo
Using browserstack as well. I found this error goes away by changing "in_processes" to "in_threads" in the Parallel.map section of the Rakefile. Not really a solution but good enough for my use case. Nothing else seems to work.
Edit: Nvm im still stuck. Threads cause other issues im running into -_-.
@zmcgugin That's what I did too.
Cloning directly from https://github.com/browserstack/rspec-browserstack and updating only to use correct BrowserStack credentials, running these tests results in expected behaviour and all tests pass. However if I intentionally make the tests fails eg change
expect(@driver.title).to eql("BrowserStack - Google Search")
to something else likeexpect(@driver.title).to eql("NOTBrowserStack - Google Search")
the test fails as expected but then returns the errorrake aborted! Parallel::DeadWorker: Parallel::DeadWorker preventing the processes from running any more tests.