Skip to content

Commit 40e2530

Browse files
committed
Update test for wider timing asserts
1 parent 35469c0 commit 40e2530

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ebean-datasource/src/test/java/io/ebean/datasource/pool/ConnectionPoolTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,8 @@ void getConnection_explicitUserPassword() throws SQLException {
9090
PoolStatus status = pool.status(false);
9191

9292
assertThat(status.hitCount()).isEqualTo(10_000);
93-
assertThat(status.meanAcquireNanos()).isBetween(0L, 300L);
94-
assertThat(status.maxAcquireMicros()).isBetween(0L, 100L);
93+
assertThat(status.meanAcquireNanos()).isBetween(0L, 450L);
94+
assertThat(status.maxAcquireMicros()).isBetween(0L, 200L);
9595
}
9696

9797
@Test

0 commit comments

Comments
 (0)