-
Notifications
You must be signed in to change notification settings - Fork 385
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The following changes have been made: * Open *sql.DB outside of storage (and reuse the same DB for all storage objects) * Test refactors (storage/mysql): * Moved DB-handling methods to storage_test (which contains TestMain) * Added a *sql.DB parameter to methods that access storage * Open DB connection only once for all tests * Cleaned DB at the beginning of every test The changes above render the storage caching layer obsolete.
- Loading branch information
Alan Parra
committed
Jan 25, 2017
1 parent
a7e8e00
commit 7ac8e0d
Showing
11 changed files
with
231 additions
and
453 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.