-
Notifications
You must be signed in to change notification settings - Fork 25
coverage report is crashing when running with several connections #20
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
Comments
Are the two connections to the same database schema? |
Yes. Good point. Alternatively we could read once for each unique database-user pair. That would also solve the problem. It could also improve on performance - data would be read only once for each unique database-user. What do you think? |
The workaround for this issue is to have the plsql profiler tables created and accessible on the database prior to running the tests. |
To reproduce:
place 2 connection definitions in database.yml
have a test (that utilizes one of the connections)
execute
plsql-spec --coverage
And you get:
The text was updated successfully, but these errors were encountered: