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

Tries to connect to all databases that have a connectionstring defined on project startup #43

Open
fredrikholm opened this issue Oct 19, 2015 · 3 comments

Comments

@fredrikholm
Copy link

My project(s) have 4 connectionstrings in web.config, one for the "real" DB and the rest for test databases (SQL Server). The test DBs are deleted after each test run.

Whenever I start my solution (VS2015 Community edition) VS tries to connect to all of those databases, which throws an error since the databases does not exist. This behaviour stops if I disable Karma Test Adapter.

It seems like others experience the same behaviour as well (top link in this result):
https://www.google.se/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=visual%20studio%20karma%20test%20adapter%20tries%20to%20open%20all%20databases%20in%20the%20connection%20string

Great product apart from this minor glitch! :-)

@mklaber
Copy link

mklaber commented Dec 28, 2015

I'm also seeing this same behavior, though this may be a duplicate of #32 . Perhaps that should be re-opened?

@mikecg
Copy link

mikecg commented Mar 9, 2016

This has also been happening to me.

@brandonwittwer
Copy link

+1 Happens to us as well, multiple machines. Uninstalling the test runner fixes it.

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

4 participants