-
Notifications
You must be signed in to change notification settings - Fork 229
Better handling of *.testproj directories as databases #768
Copy link
Copy link
Closed
Labels
VSCodeenhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Description
*.testproj databases are usually ephemeral. They are re-created by the test runner each time tests are run. This causes a problem when importing into vscode. When a database is changed on disk, the query server lock is not released. So, when the database is recreated, queries cannot be run since the original lock is invalid.
There are a few workarounds that users can do:
- Before importing a
testprojdatabase, make sure to copy it, so it won't be deleted by the test runner. - Before rerunning tests, remove the database from the UI.
Neither of these solutions are ideal and the extension should handle this automatically. An ideal solution is that immediately before a test is run, check to see if the resulting database is already imported. If so, remove it and then run the tests and re-add when complete.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
VSCodeenhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Type
Fields
Give feedbackNo fields configured for issues without a type.