activerecord-cockroachdb-adapter icon indicating copy to clipboard operation
activerecord-cockroachdb-adapter copied to clipboard

Failed test test_multiple_find_or_create_by_within_transactions

Open BuonOmo opened this issue 1 year ago • 0 comments

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 avatar Jan 18 '24 15:01 BuonOmo