Fix parallel execution sharing (#1247)

This commit is contained in:
Egon Elbre 2019-02-06 11:16:05 +02:00 committed by GitHub
parent 7b7e6c43f8
commit ab83f0f077
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -25,6 +25,7 @@ func Run(t *testing.T, config Config, test func(t *testing.T, ctx *testcontext.C
t.Log("schema-suffix ", schemaSuffix)
for _, satelliteDB := range satellitedbtest.Databases() {
satelliteDB := satelliteDB
t.Run(satelliteDB.Name, func(t *testing.T) {
t.Parallel()

View File

@ -62,6 +62,7 @@ func Run(t *testing.T, test func(t *testing.T, db satellite.DB)) {
t.Log("schema-suffix ", schemaSuffix)
for _, dbInfo := range Databases() {
dbInfo := dbInfo
t.Run(dbInfo.Name, func(t *testing.T) {
t.Parallel()