From 488c1d0db0c03588f99b8393260884ec2bbe8c76 Mon Sep 17 00:00:00 2001 From: Goutham Veeramachaneni Date: Tue, 12 Apr 2022 22:03:26 -0400 Subject: [PATCH] Fix flaky prometheusexporter.TestEndToEndSummarySupport Fixes https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/8365 See: https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/8365#issuecomment-1097471352 Signed-off-by: Goutham Veeramachaneni --- exporter/prometheusexporter/end_to_end_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/exporter/prometheusexporter/end_to_end_test.go b/exporter/prometheusexporter/end_to_end_test.go index 0dcee68046bc..8f64301ebb50 100644 --- a/exporter/prometheusexporter/end_to_end_test.go +++ b/exporter/prometheusexporter/end_to_end_test.go @@ -92,7 +92,8 @@ func TestEndToEndSummarySupport(t *testing.T) { scrape_configs: - job_name: 'otel-collector' - scrape_interval: 10ms + scrape_interval: 50ms + scrape_timeout: 50ms static_configs: - targets: ['%s'] `, srvURL.Host))