Hi All!
Have anybody experimented with setting default Derby timeout in our test suite? I have set the timeout to 5 seconds and the test suite execution time felt down from 34 to 19 minutes on my system. Part of my openjpa-persistence-jdbc pom.xml looks like this:
openjpa.LogDefaultLevel=${openjpa.loglevel}openjpa.ConnectionDriverNameorg.apache.commons.dbcp.BasicDataSourcederby.stream.error.filetarget/derby.logderby.locks.waitTimeout5openjpa.ConnectionPropertiesDriverClassName=${connection.driver.name},Url=${connection.url},Username=${connection.username},Password=${connection.password},${dbcp.args}
We could consider setting this permanently. Hope it will not affect timeout-related tests.
Greetings,
Milosz