I should also mention that I've done *precisely* the test you describe against PostgreSQL -- shutting the database down in the middle of a crawl, and restarting it.  Everything works fine in that case -- the PostgreSQL JDBC driver seems quite able to reestablish connections that have gone stale.  It's just MySQL that doesn't do it properly, apparently.


On Thu, May 21, 2015 at 6:49 AM, Karl Wright <daddywri@gmail.com> wrote:
The test is:


It's one of the RSS connector tests, and simulates database interruption by way of a replacing the HSQLDB database instance with one that generates database errors when told to.


On Thu, May 21, 2015 at 6:02 AM, <Ruediger.Kurz@deutschebahn.com> wrote:

Hi Karl,

could you please point us to the test case class, that checks the reconnect capabilty?

Thanks in advance!