/usr/lib/ruby/vendor_ruby/test_after_commit/with_transaction_state.rb is in ruby-test-after-commit 1.0.0-1build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 | # disable parts of the sync code that starts looping
module TestAfterCommit
module WithTransactionState
def sync_with_transaction_state
@reflects_state ||= []
@reflects_state[0] = true
super
end
end
end
|