Skip to content

Commit

Permalink
Increase duration for retry tests
Browse files Browse the repository at this point in the history
  • Loading branch information
damemi committed Jun 13, 2023
1 parent 370ec79 commit cacaf82
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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,
Expand Down

0 comments on commit cacaf82

Please sign in to comment.