@ -79,7 +79,7 @@ public class HikariDataSource extends HikariConfig implements DataSource, Closea
public Connection getConnection() throws SQLException
{
if (isShutdown) {
throw new SQLException("Pool {} has been shutdown", pool.getConfiguration().getPoolName());
throw new SQLException(String.format("Pool %s has been shutdown", pool.getConfiguration().getPoolName()));
}
if (fastPathPool != null) {
@ -222,7 +222,7 @@ public class ShutdownTest
ds.getConnection();
catch (SQLException e) {
Assert.assertTrue(e.getMessage().contains("Pool has been shutdown"));
Assert.assertTrue(e.getMessage().contains("has been shutdown"));