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
The Integration Tests Time out #456
Comments
This is no good either as it could lead to unintentional contamination between tests. |
Nudge nudge, wink wink: https://xunit.codeplex.com/workitem/9747 |
Also, this is still a thing to be wary of with our current Appveyor setup... |
On large test suites like this in the past where setting up was important, I've seen and used "the world" caching. Essentially, a test creates something if it needs it and then caches it. The cache is checked before each test's data setup to see if it was already cached during that test session. I've only used this with the built in mstest, but it might work with xunit as well? |
I've looked into enabling parallel builds with xUnit 2 but am hitting some issues with the integration tests running in parallel. My psychic debugger thinks this is related to contention with making requests to the same remote server... |
We could run the unit tests in parallel, but not the integration tests. |
Just tested this out, and it does shave off a couple of seconds: Before
After
|
Running the tests in the new VS test runner suffers the same problem as the command line, so I'd like to get to the bottom of this issue. But I can work around it in the meantime and run batches of tests... |
👋 Hey Friends, this issue has been automatically marked as |
Rather than increase the QED timeout, how can we make our integration tests faster. Part of the problem is that for many test classes, each test has to set up the "entire world."
What if we did one of the following:
Thoughts?
The text was updated successfully, but these errors were encountered: