Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion test/integration/synchronous_invocation_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -588,7 +588,10 @@ def wait(timeout:)
database_adapter = SolidObjects.database_adapter
database_adapter.define_singleton_method(:configured_busy_handler_timeout) { |_connection| nil }

SolidObjects::Record.connection_pool.with_connection do
SolidObjects::Record.connection_pool.with_connection do |connection|
connection.raw_connection.busy_handler_timeout = configured_sqlite_busy_handler_timeout
assert_equal 0, connection.select_value("PRAGMA busy_timeout").to_i

CounterActor.ref("unrestorable").increment

assert_nothing_raised do
Expand Down
Loading