swift/test
Matthew Oliver 3bde14b5cf Quarantine malformed database schema SQLite errors
Currently if an sqlite3.DatabaseError is thrown when caused by
a corrupted database schema, it get logged and the database is isn't
quarantined.

This patch adds the malformed database schema case to the list of
SQLite errors in possibly_quarantine that will trigger the db to be
quarantined.

Also it improved the possibly_quarantined unit test to test all existing
exceptions, and catches exceptions based on the real world except we use
in code.

Closes-Bug: #1646247

Change-Id: Id9452c88f8394a2a910c34c69361442543aa206d
2016-12-01 14:17:02 +11:00
..
functional Merge "breaking up functional/tests.py a bit further" 2016-11-29 22:24:49 +00:00
probe Merge "EC: reconstruct using non-durable fragments" 2016-11-07 23:45:11 +00:00
unit Quarantine malformed database schema SQLite errors 2016-12-01 14:17:02 +11:00
__init__.py test/(functional/probe):Replace python print operator with print function (pep H233, py33) 2015-08-20 11:42:58 +09:00
sample.conf Merge "Add a note for functional tests with Keystone." 2016-03-18 05:08:10 +00:00