Update change log. Try re-enabling TestConnectionCloseBlocking test.

pull/459/head
Brett Wooldridge 9 years ago
parent cfe7a9c689
commit 4d54c8f1d5

@ -14,7 +14,10 @@ Changes in 2.4.2
* Performance improvements in the getConnection()/close() hot path.
* issue 415: remove use of java.beans classes to allow use of HikariCP with the
* issue 452: fixed race condition when creating an rapidly ramping connections in the
pool.
* issue 415: removed use of java.beans classes to allow use of HikariCP with the
Zulu JRE compact3 profile.
* issue 406: execute validation query during connection setup to make sure it is

@ -12,6 +12,7 @@ import java.sql.SQLException;
import java.util.concurrent.TimeUnit;
import org.junit.Assert;
import org.junit.Test;
import org.mockito.invocation.InvocationOnMock;
import org.mockito.stubbing.Answer;
@ -28,8 +29,9 @@ import com.zaxxer.hikari.util.UtilityElf;
*
*/
public class TestConnectionCloseBlocking {
private volatile boolean shouldFail = false;
private static volatile boolean shouldFail = false;
@Test
public void testConnectionCloseBlocking() throws SQLException {
HikariConfig config = new HikariConfig();
config.setMinimumIdle(0);
@ -57,7 +59,7 @@ public class TestConnectionCloseBlocking {
}
}
private class CustomMockDataSource extends MockDataSource {
private static class CustomMockDataSource extends MockDataSource {
@Override
public Connection getConnection() throws SQLException {
Connection mockConnection = super.getConnection();

Loading…
Cancel
Save