semberal / dbstress

JDBC database performance and stress testing tool
Apache License 2.0
47 stars 20 forks source link

System not terminated #26

Closed semberal closed 7 years ago

semberal commented 8 years ago

When a database is down (Vertica in this case) and connection cannot be created, the application hangs (actor system cannot be terminated). Seems not to be possible to terminate the thread pool (threads may still be trying to connect).

semberal commented 7 years ago

Cannot reproduce anymore, must have been fixed by #31. Current output looks like this:

14:31:27.230 [INFO] Waiting for 20 database connections to be initialized
14:31:32.441 [ERROR] Cannot initialize database connection: [Vertica][VJDBC](100024) IOException while communicating with server: java.net.SocketException: Connection reset.
14:31:32.441 [ERROR] Some database connection could not be initialized, terminating the scenario