Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed test test_multiple_find_or_create_by_within_transactions #306

Open
BuonOmo opened this issue Jan 18, 2024 · 0 comments
Open

Failed test test_multiple_find_or_create_by_within_transactions #306

BuonOmo opened this issue Jan 18, 2024 · 0 comments
Labels
rails 7.1 issue introduced in rails 7.1

Comments

@BuonOmo
Copy link
Collaborator

BuonOmo commented Jan 18, 2024

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

@BuonOmo BuonOmo added the rails 7.1 issue introduced in rails 7.1 label Jan 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rails 7.1 issue introduced in rails 7.1
Projects
None yet
Development

No branches or pull requests

1 participant