satellite/metabase/metabasetest: fix race while running tests
Change-Id: I4fdb328443617bc9710ee6b9168b31870fe336d9
This commit is contained in:
parent
bfdc60f3d8
commit
4e0c7b2d90
@ -40,6 +40,7 @@ func RunWithConfigAndMigration(t *testing.T, config metabase.Config, fn func(ctx
|
||||
defer ctx.Cleanup()
|
||||
|
||||
// generate unique application name to filter out full table scan queries from other tests executions
|
||||
config := config
|
||||
config.ApplicationName += pgutil.CreateRandomTestingSchemaName(6)
|
||||
db, err := satellitedbtest.CreateMetabaseDB(ctx, zaptest.NewLogger(t), t.Name(), "M", 0, dbinfo.MetabaseDB, config)
|
||||
if err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user