Skip to content

Commit

Permalink
updated metrics test with max range duration 600.0 seconds
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Tripp <[email protected]>
  • Loading branch information
thedtripp committed May 16, 2024
1 parent 4f029a9 commit e56c0f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/integration/metrics_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ func TestMetricsRangeDurationSeconds(t *testing.T) {
if err != nil {
t.Fatalf("failed to parse duration: %s", err)
}
maxRangeDuration := 300.0
maxRangeDuration := 600.0
if rangeDuration < 0.0 || rangeDuration > maxRangeDuration {
t.Fatalf("expected etcd_server_range_duration_seconds to be between 0 and %f, got %f", maxRangeDuration, rangeDuration)
}
Expand Down

0 comments on commit e56c0f8

Please sign in to comment.