Skip to content

Commit

Permalink
Disable transactional tests
Browse files Browse the repository at this point in the history
Transactional tests and background threads don't play well together.
  • Loading branch information
djmb committed Sep 25, 2023
1 parent 705ee12 commit da97e45
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/test_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
ActiveSupport::TestCase.fixtures :all
end

ActiveSupport::TestCase.use_transactional_tests = false

def lookup_store(options = {})
store_options = { namespace: @namespace }.merge(options)
store_options.merge!(cluster: { shards: [:default] }) unless store_options.key?(:cluster) || store_options.key?(:clusters)
Expand Down

0 comments on commit da97e45

Please sign in to comment.