2019-12-04 03:36:21 +00:00
|
|
|
// Copyright (C) 2019 Storj Labs, Inc.
|
|
|
|
// See LICENSE for copying information.
|
|
|
|
|
|
|
|
package satellitedb_test
|
|
|
|
|
|
|
|
import (
|
|
|
|
"testing"
|
|
|
|
|
|
|
|
"storj.io/storj/private/dbutil/pgutil/pgtest"
|
|
|
|
)
|
|
|
|
|
|
|
|
func TestMigrateCockroach(t *testing.T) {
|
|
|
|
if *pgtest.CrdbConnStr == "" {
|
|
|
|
t.Skip("Cockroach flag missing, example: -cockroach-test-db=" + pgtest.DefaultCrdbConnStr)
|
|
|
|
}
|
2019-12-20 19:03:58 +00:00
|
|
|
t.Parallel()
|
2019-12-04 03:36:21 +00:00
|
|
|
pgMigrateTest(t, *pgtest.CrdbConnStr)
|
|
|
|
}
|