From a33c18ad3d4e337a1df56513806fcbedcfe48f75 Mon Sep 17 00:00:00 2001 From: khushijain21 Date: Mon, 16 Dec 2024 18:49:00 +0530 Subject: [PATCH] fix test --- receiver/otlpjsonfilereceiver/file_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/receiver/otlpjsonfilereceiver/file_test.go b/receiver/otlpjsonfilereceiver/file_test.go index c313f5122840..3870632f38db 100644 --- a/receiver/otlpjsonfilereceiver/file_test.go +++ b/receiver/otlpjsonfilereceiver/file_test.go @@ -135,6 +135,7 @@ func TestFileMetricsReceiverWithReplay(t *testing.T) { cfg.Config.StartAt = "beginning" cfg.ReplayFile = true cfg.Config.PollInterval = 5 * time.Second + cfg.IncludeFileName = false sink := new(consumertest.MetricsSink) receiver, err := factory.CreateMetrics(context.Background(), receivertest.NewNopSettings(), cfg, sink)