fix(tests): extend fresh-connection threshold

This assert is failing with durations _just_ over the line, suggesting a timing issue.
This commit is contained in:
Austin Bonander 2024-03-22 15:50:54 -07:00 committed by GitHub
parent e0a1f1633c
commit 0b91ea68e5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -270,7 +270,7 @@ async fn test_connection_maintenance() -> anyhow::Result<()> {
.take()
.expect("expected a connection from the pool");
assert!(
meta.age < Duration::from_secs(1),
meta.age < Duration::from_secs(2),
"expected a fresh connection (age {:?})",
meta.age
);