Skip to content

Commit

Permalink
chore: fix broken tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jmichalek132 committed Oct 31, 2024
1 parent cc1599c commit a5bab73
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions exporter/prometheusremotewriteexporter/exporter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ func Test_NewPRWExporter(t *testing.T) {
cfg.ExternalLabels = tt.externalLabels
cfg.Namespace = tt.namespace
cfg.RemoteWriteQueue.NumConsumers = 1
cfg.RemoteWriteProtoMsg = config.RemoteWriteProtoMsgV1
prwe, err := newPRWExporter(cfg, tt.set)

if tt.returnErrorOnCreate {
Expand Down Expand Up @@ -211,6 +212,7 @@ func Test_Start(t *testing.T) {
cfg.Namespace = tt.namespace
cfg.RemoteWriteQueue.NumConsumers = 1
cfg.ClientConfig = tt.clientSettings
cfg.RemoteWriteProtoMsg = config.RemoteWriteProtoMsgV1

prwe, err := newPRWExporter(cfg, tt.set)
assert.NoError(t, err)
Expand Down

0 comments on commit a5bab73

Please sign in to comment.