Skip to content

Commit

Permalink
[chore] Fix queue-related signalfxexporter tests (#37481)
Browse files Browse the repository at this point in the history
  • Loading branch information
evan-bradley authored Jan 24, 2025
1 parent d72d7b6 commit a4ddd9e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions exporter/signalfxexporter/exporter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -669,6 +669,7 @@ func TestConsumeMetricsAccessTokenPassthroughPriorityToContext(t *testing.T) {
cfg.AccessToken = configopaque.String(fromHeaders)
cfg.AccessTokenPassthrough = tt.accessTokenPassthrough
cfg.SendOTLPHistograms = tt.sendOTLPHistograms
cfg.QueueSettings.Enabled = false
sfxExp, err := NewFactory().CreateMetrics(context.Background(), exportertest.NewNopSettings(), cfg)
require.NoError(t, err)
ctx := context.Background()
Expand Down Expand Up @@ -768,6 +769,7 @@ func TestConsumeLogsAccessTokenPassthrough(t *testing.T) {
cfg.Headers["test_header_"] = configopaque.String(tt.name)
cfg.AccessToken = configopaque.String(fromHeaders)
cfg.AccessTokenPassthrough = tt.accessTokenPassthrough
cfg.QueueSettings.Enabled = false
sfxExp, err := NewFactory().CreateLogs(context.Background(), exportertest.NewNopSettings(), cfg)
require.NoError(t, err)
require.NoError(t, sfxExp.Start(context.Background(), componenttest.NewNopHost()))
Expand Down

0 comments on commit a4ddd9e

Please sign in to comment.