From edf0f3cbbd9a313a9c03c785bb461fcc12c55e8c Mon Sep 17 00:00:00 2001 From: Jeff Mitchell Date: Mon, 1 Jul 2019 12:08:55 -0400 Subject: [PATCH] Use metrics helper from base in test cluster cores --- vault/testing.go | 1 + 1 file changed, 1 insertion(+) diff --git a/vault/testing.go b/vault/testing.go index c8fa642b6..3e19c85de 100644 --- a/vault/testing.go +++ b/vault/testing.go @@ -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 }