btcd/sqlite3
Dave Collins e30ceb5947 Cleanup and fix operational tests.
This commit makes several changes to the operation tests as follows:

- Ensure the database is closed between each operational mode test as
  otherwise  the database is locked when trying to reopening it which
  makes it unusable
- Make the insert tests error after a single failure since every test
  afterwards is guaranteed to fail as well
- Remove some of the logging statements which cluttered up the failed test
  prints making it harder to see why a given test failed
- Make a couple of the log messages more descriptive
2013-05-29 16:11:13 -05:00
..
testdata Initial implementation. 2013-05-29 10:09:26 -05:00
doc.go Initial implementation. 2013-05-29 10:09:26 -05:00
internal_test.go Initial implementation. 2013-05-29 10:09:26 -05:00
operational_test.go Cleanup and fix operational tests. 2013-05-29 16:11:13 -05:00
sqlite.go Only try to drop the uniquetx index if it exists. 2013-05-29 17:54:46 +01:00
sqliteblock_test.go Add InsertBlockData needed by tests to interface. 2013-05-29 15:30:26 -05:00
sqliteblock.go Initial implementation. 2013-05-29 10:09:26 -05:00
sqlitedbcache.go Initial implementation. 2013-05-29 10:09:26 -05:00
sqlitetx.go Initial implementation. 2013-05-29 10:09:26 -05:00