Skip to content

Failed test test_multiple_find_or_create_by_within_transactions #306

@BuonOmo

Description

@BuonOmo

Tests:

  • CreateOrFindByWithinTransactions#test_multiple_find_or_create_by_bang_within_transactions
  • CreateOrFindByWithinTransactions#test_multiple_find_or_create_by_within_transactions

The second thread is running both ROLLBACK and COMMIT at some point, hence the unwanted error: no transaction in progress.

The bug appears at the end of the transaction block (source).

Metadata

Metadata

Assignees

No one assigned

    Labels

    rails 7.1issue introduced in rails 7.1

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions