Skip to content

Commit

Permalink
Update test for wider timing asserts
Browse files Browse the repository at this point in the history
  • Loading branch information
rbygrave committed May 22, 2024
1 parent 35469c0 commit 40e2530
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@ void getConnection_explicitUserPassword() throws SQLException {
PoolStatus status = pool.status(false);

assertThat(status.hitCount()).isEqualTo(10_000);
assertThat(status.meanAcquireNanos()).isBetween(0L, 300L);
assertThat(status.maxAcquireMicros()).isBetween(0L, 100L);
assertThat(status.meanAcquireNanos()).isBetween(0L, 450L);
assertThat(status.maxAcquireMicros()).isBetween(0L, 200L);
}

@Test
Expand Down

0 comments on commit 40e2530

Please sign in to comment.