mirror of https://github.com/rails/rails
Stablize ConnectionPoolTests#test_idle_timeout_configuration
It flakes a lot on my machine because the timeouts are identical.
This commit is contained in:
parent
93b89b170b
commit
3771f7ea58
|
@ -280,7 +280,7 @@ module ActiveRecord
|
|||
|
||||
idle_conn.instance_variable_set(
|
||||
:@idle_since,
|
||||
Process.clock_gettime(Process::CLOCK_MONOTONIC) - 0.02
|
||||
Process.clock_gettime(Process::CLOCK_MONOTONIC) - 0.03
|
||||
)
|
||||
|
||||
@pool.flush
|
||||
|
|
Loading…
Reference in New Issue