Use metrics helper from base in test cluster cores

This commit is contained in:
Jeff Mitchell 2019-07-01 12:08:55 -04:00
parent 20e485a9d3
commit edf0f3cbbd
1 changed files with 1 additions and 0 deletions

View File

@ -1297,6 +1297,7 @@ func NewTestCluster(t testing.T, base *CoreConfig, opts *TestClusterOptions) *Te
coreConfig.DisableCache = base.DisableCache
coreConfig.LicensingConfig = base.LicensingConfig
coreConfig.DisablePerformanceStandby = base.DisablePerformanceStandby
coreConfig.MetricsHelper = base.MetricsHelper
if base.BuiltinRegistry != nil {
coreConfig.BuiltinRegistry = base.BuiltinRegistry
}