Skip to content

Commit 22f44c9

Browse files
committed
Update test allowing slower execution
1 parent 9d41e9d commit 22f44c9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
class ConnectionPoolTest {
1616

17-
private ConnectionPool pool;
17+
private final ConnectionPool pool;
1818

1919
ConnectionPoolTest() {
2020
pool = createPool();
@@ -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, 450L);
94-
assertThat(status.maxAcquireMicros()).isBetween(0L, 200L);
93+
assertThat(status.meanAcquireNanos()).isBetween(0L, 900L);
94+
assertThat(status.maxAcquireMicros()).isBetween(0L, 900L);
9595
}
9696

9797
@Test

0 commit comments

Comments
 (0)