Skip to content

Fault Tolerancy Tests #9

Description

@NickNick

We're claiming to be fault tolerant, but we haven't proved it so far. Lets create some tests that handle

Losing connection to the database (database goes down)

  • ... due to db-restart
  • ... due to signals (test all the 'killing' signals, or at least sigsegv and sigterm)
  • ... due to losing the connection because network-layer failure.

What to test for each of these scenarios

  • Reconnecting (creating a new connection)
  • Old connections must be able to recover and reconnect (the user may not end up with "invalid" connections)
  • However, ResultSets must be invalid (and know so).
  • Statements prepared before losing connection should still work (this is a MySQL feature, we shouldn't need to recreate statements)
  • Stored procedures should still work
  • Connection properties, i.e. collation, should still be the same for every connection
  • feel free to add more!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions