You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are some occasional spurious integration test failure on Windows and MacOS to do with "database being locked".
My current theory is that this is due to running magic-folder-api subcommands when the "main" process is doing database-stuff (although I'm unsure why they don't just fail 100% of the time, unless sqlite3 only actually locks the database when there's a write transaction?)
In any case, it would be better practice to have magic-folder-api only open in read-only mode since it doesn't need write-access and -- ideally -- that would also fix these occasional problems.
(It would also be possible to fix by just doing HTTP transaction instead of running magic-folder-api commands, but the latter is what most downstream CLI users would usually do so it's a better "integration test" IMO if the integration tests do that too...)
The text was updated successfully, but these errors were encountered:
There are some occasional spurious integration test failure on Windows and MacOS to do with "database being locked".
My current theory is that this is due to running
magic-folder-api
subcommands when the "main" process is doing database-stuff (although I'm unsure why they don't just fail 100% of the time, unless sqlite3 only actually locks the database when there's a write transaction?)In any case, it would be better practice to have
magic-folder-api
only open in read-only mode since it doesn't need write-access and -- ideally -- that would also fix these occasional problems.(It would also be possible to fix by just doing HTTP transaction instead of running
magic-folder-api
commands, but the latter is what most downstream CLI users would usually do so it's a better "integration test" IMO if the integration tests do that too...)The text was updated successfully, but these errors were encountered: