After migrating from Ruby 2.2 / Rails 4.2 to Ruby 2.3 / Rails 5.0, I’m getting 
hundreds of “ThreadError: deadlock; recursive locking” error messages on 40% of 
my tests (~800 of 2000 examples). All  of the failures are on ActiveRecord 
calls — <rec>.reload, <model>.last, <model>.find_by_<field>, etc. They happen 
in controller, helper, model, and feature specs.

I do not get any of these errors when exercising my app in Development, only 
when running tests. I saw one writeup that tied deadlock errors with Celluloid 
0.17.3 and Ruby 2.2.5 and 2.3.1, but I’m not running that version of Celluloid 
(0.15.2).

I don’t expect that the problem is actually in RSpec, but since it only happens 
when running RSpec, perhaps someone on this list has seen this problem before.

BTW, I’m using RSpec 3.9.1

-- 
You received this message because you are subscribed to the Google Groups 
"rspec" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rspec/73130943-1E26-4319-8433-3DBD5E65217B%40pobox.com.

Reply via email to