cockroachdb / cockroachdb/activerecord-cockroachdb-adapter
Failed test test_multiple_find_or_create_by_within_transactions
Ouverte
rails 7.1
- Langage dominant
- Ruby
- Étoiles
- 105
- Forks
- 56
- Merge moyen
- 9 h 5 min
- PR mergées (30 j)
- 3
Description
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](https://github.com/rails/rails/blob/7130e3cfc4a09d76df6e86531bbd6bb95bc081e6/activerecord/test/cases/relations_test.rb#L2495)).
Guide de contribution
Ouvrir le guide de contribution
Évaluation
Cette issue n'a pas encore été évaluée.