Skip to content

Commit

Permalink
valid test case
Browse files Browse the repository at this point in the history
  • Loading branch information
rlankfo committed Sep 8, 2023
1 parent 26a3c15 commit 8962ab8
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions cmd/tempo/app/overrides_validation_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,15 @@ func Test_overridesValidator(t *testing.T) {
},
expErr: fmt.Sprintf("metrics_generator.processor \"span-span\" is not a known processor, valid values: %v", generator.SupportedProcessors),
},
{
name: "metrics_generator.collection_interval valid",
cfg: Config{},
limits: client.Limits{
MetricsGenerator: &client.LimitsMetricsGenerator{
CollectionInterval: durationPtr(60 * time.Second),
},
},
},
{
name: "metrics_generator.collection_interval minimum",
cfg: Config{},
Expand Down

0 comments on commit 8962ab8

Please sign in to comment.