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

Fails when tests run in parallel or maxInstances more than 1. #54

Open
bdarwin opened this issue May 8, 2015 · 0 comments
Open

Fails when tests run in parallel or maxInstances more than 1. #54

bdarwin opened this issue May 8, 2015 · 0 comments

Comments

@bdarwin
Copy link

bdarwin commented May 8, 2015

If i do this i suppose multiple specs trying to create the directory and one of it fails as other spec might have created the directory already.

exports.config = {
    capabilities: {
        'browserName': 'phantomjs',
        'maxInstances': 5,
   }
}
Error: Could not create directory <path>. 

This happens frequently but not all the time though.

If I change the maxInstances to 1 it works fine, but this makes my build slower.
I tried providing a random path using pathBuilder, but then I am facing issues to merge the results into single report.

Any clues?

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

1 participant