Jack,

Congrats, it's a huge leap in your epic update story!

Can you please post an example trace?

On Mon, Nov 23, 2020 at 10:06 PM Jack Royal-Gordon <[email protected]> wrote:

> 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
> .
>

-- 
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/CAAk5Ok9yW32ADwodG11xWPfbsAuyuoqYWf_jhcGn_SkHwfVw5Q%40mail.gmail.com.

Reply via email to