Skip to content

Rails 7.1 hangs in github actions when use_transactional_fixtures = true #2697

Open
@michelson

Description

@michelson

Hi, we are running our test suite with Rspec, recently upgraded to rails 7.1.1 and we find that the github action hangs the processing, it seems that it is waiting for a transaction to complete. Not sure why but we have found that disabling use_transactional_fixtures fixes the issue. Not sure if maintainers know something about this?

What Ruby, Rails and RSpec versions are you using?

Ruby version: 3.2.2
Rails version: 7.1.1
RSpec version:
rspec-core (3.12.2)
rspec-rails (6.0.3)

Can you provide an example app?

This is the failing job that has the use_transactional_fixtures = true
https://github.com/chaskiq/chaskiq/actions/runs/6499097137/job/17659848634
Screen Shot 2023-10-12 at 11 01 56 PM

repo: https://github.com/chaskiq/chaskiq

thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions