Ruby on Rails Tuesday, September 4, 2018

Hi there,

I have a rails application (version 3.2.22). And now I'm creating functional tests through browser using Selenium Webdriver(for browser interaction) and Minitest (to validate).

Before running my test script (that fills a form and submits), I launch the rails server in order to selenium access the application.

Problem: When the selenium 'clicks' on the submit button, the server raises the following error related to Sqlite:

SQLite3::BusyException: database is locked: commit transaction

I have tried a lot of things that the stack overflow and other articles suggested, however, none has worked so far.

So, do you have any ideia why htis is happening and how to fix this?

Thank You in advance,
João Bordalo

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/64ecf7f7-e9e2-440b-b6da-1b702b5129fa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment