metainfo-migrator: handle 'omit' conn string
Uplink tests are running storj/storj tests only against postgres. Without this change integration test on uplink will fail as 'omit' is not supported in migrator tests code. Change-Id: Ic72406f52439e98683d050508fb42aa41632e183
This commit is contained in:
parent
9d52451464
commit
50b08a5b00
@ -161,6 +161,9 @@ func test(t *testing.T, createPointers func(t *testing.T, ctx context.Context, p
|
|||||||
|
|
||||||
for _, satelliteDB := range satellitedbtest.Databases() {
|
for _, satelliteDB := range satellitedbtest.Databases() {
|
||||||
satelliteDB := satelliteDB
|
satelliteDB := satelliteDB
|
||||||
|
if strings.EqualFold(satelliteDB.MasterDB.URL, "omit") {
|
||||||
|
continue
|
||||||
|
}
|
||||||
t.Run(satelliteDB.Name, func(t *testing.T) {
|
t.Run(satelliteDB.Name, func(t *testing.T) {
|
||||||
schemaSuffix := satellitedbtest.SchemaSuffix()
|
schemaSuffix := satellitedbtest.SchemaSuffix()
|
||||||
schema := satellitedbtest.SchemaName(t.Name(), "category", 0, schemaSuffix)
|
schema := satellitedbtest.SchemaName(t.Name(), "category", 0, schemaSuffix)
|
||||||
|
Loading…
Reference in New Issue
Block a user