Index: go/database/testutil/testutil.go |
diff --git a/go/database/testutil/testutil.go b/go/database/testutil/testutil.go |
index cebea84683c5363dc4297580d7141aad933f23af..bf025860b6a943c8c2488040ee00858db99d101b 100644 |
--- a/go/database/testutil/testutil.go |
+++ b/go/database/testutil/testutil.go |
@@ -20,27 +20,10 @@ const ( |
// parameters are: username, password, database. |
MYSQL_DB_OPEN = "%s:%s@tcp(localhost:3306)/%s?parseTime=true" |
- // File path to the local SQLite testing databse. |
- SQLITE_DB_PATH = "./testing.db" |
- |
// Name of the MySQL lock |
SQL_LOCK = "mysql_testlock" |
) |
-// Creates an SQLite test database and runs migration tests against it using the |
-// given migration steps. |
-func SQLiteVersioningTests(t *testing.T, migrationSteps []database.MigrationStep) { |
- // Initialize without argument to test against SQLite3 |
- conf := &database.DatabaseConfig{ |
- SQLiteFilePath: SQLITE_DB_PATH, |
- MigrationSteps: migrationSteps, |
- } |
- |
- vdb := database.NewVersionedDB(conf) |
- assert.False(t, vdb.IsMySQL) |
- testDBVersioning(t, vdb) |
-} |
- |
// Creates an MySQL test database and runs migration tests against it using the |
// given migration steps. See Get for required credentials. |
// The test assumes that the database is empty and that the readwrite user is |
@@ -58,7 +41,6 @@ func MySQLVersioningTests(t *testing.T, dbName string, migrationSteps []database |
}() |
rootVdb := database.NewVersionedDB(rootConf) |
- assert.True(t, rootVdb.IsMySQL) |
ClearMySQLTables(t, rootVdb) |
assert.Nil(t, rootVdb.Close()) |