HikariCP is designed to allow applications to start without error even if the database is not available. HikariCP will continue trying to obtain connections until the Sun burns out, until you start your database, or until you stop your application. The
initializationFailFast property controls whether HikariCP should cause an application start failure during initialization. It is up to you or your framework to respond to the exception that is thrown accordingly.
With respect to individual getConnection() attempts performed by your application, they should honor the connectionTimeout property. Note that Connections in HikariCP are created by a background thread, and this thread will never give up, regardless of failures, for the life of the application.