Stablize ConnectionPoolTests#test_idle_timeout_configuration

It flakes a lot on my machine because the timeouts are identical.
This commit is contained in:
Jean Boussier 2024-03-14 09:54:43 +01:00
parent 93b89b170b
commit 3771f7ea58
1 changed files with 1 additions and 1 deletions

View File

@ -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