I am using this gem to interact with sqlite3 using db.execute command to insert new records into table
I started writing tests for my app using minitest and now I'm seeing this error when running my test file with multiple methods trying to write to database I think its because of parallel running but I'm not sure why I can't write to the database at the same time as another process is.
SQLite3::ReadOnlyException: attempt to write a readonly database
Any ideas on how to get around this? I could try to make my tests run one at a time but I'd like to find a solution
I am using this gem to interact with sqlite3 using
db.executecommand to insert new records into tableI started writing tests for my app using minitest and now I'm seeing this error when running my test file with multiple methods trying to write to database I think its because of parallel running but I'm not sure why I can't write to the database at the same time as another process is.
SQLite3::ReadOnlyException: attempt to write a readonly databaseAny ideas on how to get around this? I could try to make my tests run one at a time but I'd like to find a solution