acb4435a67
Load schemas in parallel instead of one-by-one. Optimizes from 2m30s to 1m15s. Change-Id: I0bf6381a0ae99b44271fe55d4ee658683064c097
19 lines
402 B
Go
19 lines
402 B
Go
// 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)
|
|
}
|
|
t.Parallel()
|
|
pgMigrateTest(t, *pgtest.CrdbConnStr)
|
|
}
|