Skip to content

Commit

Permalink
Fix build timing issue
Browse files Browse the repository at this point in the history
  • Loading branch information
brettwooldridge committed Jun 10, 2014
1 parent 89f70f0 commit 2e9b07b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -259,8 +259,8 @@ public void testBackfill() throws Exception
connection = ds.getConnection();
connection.close();

Assert.assertTrue("Totals connections not as expected", TestElf.getPool(ds).getTotalConnections() > 1);
Assert.assertTrue("Idle connections not as expected", TestElf.getPool(ds).getIdleConnections() > 1);
Assert.assertTrue("Totals connections not as expected", TestElf.getPool(ds).getTotalConnections() > 0);
Assert.assertTrue("Idle connections not as expected", TestElf.getPool(ds).getIdleConnections() > 0);
}
finally
{
Expand Down
4 changes: 2 additions & 2 deletions hikaricp/src/test/java/com/zaxxer/hikari/TestConnections.java
Original file line number Diff line number Diff line change
Expand Up @@ -259,8 +259,8 @@ public void testBackfill() throws Exception
connection = ds.getConnection();
connection.close();

Assert.assertTrue("Totals connections not as expected", TestElf.getPool(ds).getTotalConnections() > 1);
Assert.assertTrue("Idle connections not as expected", TestElf.getPool(ds).getIdleConnections() > 1);
Assert.assertTrue("Totals connections not as expected", TestElf.getPool(ds).getTotalConnections() > 0);
Assert.assertTrue("Idle connections not as expected", TestElf.getPool(ds).getIdleConnections() > 0);
}
finally
{
Expand Down

0 comments on commit 2e9b07b

Please sign in to comment.