Remove Telemetry from config tests (#1401)
This commit is contained in:
1 parent
ed6c59a053
commit
74aba58c73
2 files changed
+1
-15
No files matched your search
@@ -18,12 +18,11 @@ import (
|
||||
"time"
|
||||
|
||||
"github.com/armon/go-metrics"
|
||||
berrors "github.com/hashicorp/boundary/internal/errors"
|
||||
|
||||
"github.com/hashicorp/boundary/globals"
|
||||
"github.com/hashicorp/boundary/internal/cmd/base/logging"
|
||||
"github.com/hashicorp/boundary/internal/cmd/config"
|
||||
"github.com/hashicorp/boundary/internal/db"
|
||||
berrors "github.com/hashicorp/boundary/internal/errors"
|
||||
"github.com/hashicorp/boundary/internal/kms"
|
||||
"github.com/hashicorp/boundary/internal/observability/event"
|
||||
"github.com/hashicorp/boundary/internal/servers"
|
||||
|
||||
@@ -4,7 +4,6 @@ import (
|
||||
"fmt"
|
||||
"os"
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/hashicorp/boundary/internal/errors"
|
||||
"github.com/hashicorp/boundary/internal/observability/event"
|
||||
@@ -65,12 +64,6 @@ func TestDevController(t *testing.T) {
|
||||
},
|
||||
},
|
||||
},
|
||||
Telemetry: &configutil.Telemetry{
|
||||
DisableHostname: true,
|
||||
PrometheusRetentionTime: 24 * time.Hour,
|
||||
UsageGaugePeriod: 10 * time.Minute,
|
||||
MaximumGaugeCardinality: 500,
|
||||
},
|
||||
},
|
||||
Controller: &Controller{
|
||||
Name: "dev-controller",
|
||||
@@ -165,12 +158,6 @@ func TestDevWorker(t *testing.T) {
|
||||
Purpose: []string{"proxy"},
|
||||
},
|
||||
},
|
||||
Telemetry: &configutil.Telemetry{
|
||||
DisableHostname: true,
|
||||
PrometheusRetentionTime: 24 * time.Hour,
|
||||
UsageGaugePeriod: 10 * time.Minute,
|
||||
MaximumGaugeCardinality: 500,
|
||||
},
|
||||
},
|
||||
Worker: &Worker{
|
||||
Name: "dev-worker",
|
||||
|
||||
Reference in new issue
Block a user