From cacaf82d49c127d88c9e43e88661122d5c322029 Mon Sep 17 00:00:00 2001 From: Mike Dame Date: Tue, 13 Jun 2023 13:33:02 +0000 Subject: [PATCH] Increase duration for retry tests --- .../collector/integrationtest/testcases/testcases_metrics.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/exporter/collector/integrationtest/testcases/testcases_metrics.go b/exporter/collector/integrationtest/testcases/testcases_metrics.go index 1a24ff1c6..b2d7cd5f9 100644 --- a/exporter/collector/integrationtest/testcases/testcases_metrics.go +++ b/exporter/collector/integrationtest/testcases/testcases_metrics.go @@ -263,7 +263,7 @@ var MetricsTestCases = []TestCase{ cfg.ProjectID = "unavailableproject" cfg.MetricConfig.WALConfig.Enabled = true cfg.MetricConfig.WALConfig.Directory, _ = os.MkdirTemp("", "test-wal-") - cfg.MetricConfig.WALConfig.MaxBackoff = time.Duration(1 * time.Second) + cfg.MetricConfig.WALConfig.MaxBackoff = time.Duration(2 * time.Second) }, SkipForSDK: true, ExpectRetries: true, @@ -276,7 +276,7 @@ var MetricsTestCases = []TestCase{ cfg.ProjectID = "deadline_exceededproject" cfg.MetricConfig.WALConfig.Enabled = true cfg.MetricConfig.WALConfig.Directory, _ = os.MkdirTemp("", "test-wal-") - cfg.MetricConfig.WALConfig.MaxBackoff = time.Duration(1 * time.Second) + cfg.MetricConfig.WALConfig.MaxBackoff = time.Duration(2 * time.Second) }, SkipForSDK: true, ExpectRetries: true,