rack_session_access
rack_session_access copied to clipboard
PG::NoActiveSqlTransaction Random Error
Im receiving this error randomly while running my specs:
Failure/Error: page.set_rack_session(checkout_experience: 'three_step')
ActiveRecord::StatementInvalid:
PG::NoActiveSqlTransaction: ERROR: SAVEPOINT can only be used in transaction blocks
: SAVEPOINT active_record_1
I'm setting the session in a before block:
before(:each) do
page.set_rack_session(checkout_experience: 'three_step')
end
When I look at the output for the page at the time of error, I see the following:

It does not look like this gem issue.
I need more information
- What is acrual spec?
- How is rspec confugured
- Do you use transactional_fixtures/DataCleaner/etc?
Any update?