-
Notifications
You must be signed in to change notification settings - Fork 115
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
Running tests in parallel throws IOException #387
Comments
In parallel, as in your launch your console app more than once and run them at the same time? I will look to see if StreamWriter has the ability to write w/o a hard lock on the file. |
After doing some reading it looks like I don't need to do file create at all and the streamwriter will handle it all. |
I created multiple AppDomains in order to run the tests in parallel in the same instance of the console app. But what happens if two tests try to write to this file at the same time now? |
Ok. I will publish a new version with these changes and they may help. The problem is that canopy was never really designed to run in parallel. If you don't use the 'RunFailedContextsFirst' feature I can add a flag to not save history which will fix this for you for sure. |
Yes, I saw the issue and your plans for v2. But all the other libraries and plain Selenium were never really satisfying and canopy just works :-) I don't use the "RunFailedContextsFirst" so disabling it with a flag would work for sure. Thanks for your fast help! |
This should fix it. If it does not please let me know. |
If I have multiple tests running at the same time I get exceptions because of the "failedContexts.txt" file.
Is there a way to disable this?
The text was updated successfully, but these errors were encountered: