-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
…lvers Resolves: #1143 (comment)
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -405,6 +405,20 @@ func getConfigConsolidationTestCases() []configConsolidationTestCase { | |
assert.Equal(t, lib.GetTagSet("proto", "url"), c.Options.SystemTags) | ||
}, | ||
}, | ||
// Test summary trend stats | ||
{opts{}, exp{}, func(t *testing.T, c Config) { | ||
assert.Equal(t, lib.DefaultSummaryTrendStats, c.Options.SummaryTrendStats) | ||
}}, | ||
{opts{cli: []string{"--summary-trend-stats", `""`}}, exp{}, func(t *testing.T, c Config) { | ||
assert.Equal(t, lib.DefaultSummaryTrendStats, c.Options.SummaryTrendStats) | ||
}}, | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
imiric
Contributor
|
||
{ | ||
opts{runner: &lib.Options{SummaryTrendStats: []string{"avg", "p(90)", "count"}}}, | ||
exp{}, | ||
func(t *testing.T, c Config) { | ||
assert.Equal(t, []string{"avg", "p(90)", "count"}, c.Options.SummaryTrendStats) | ||
}, | ||
}, | ||
//TODO: test for differences between flagsets | ||
//TODO: more tests in general, especially ones not related to execution parameters... | ||
} | ||
|
I think that setting it to
""
should mean that no columns are shown ? I suppose this is how it worked previously, but still I think that is what it should mean ...If you check for
nil
at b91229a#diff-31f9f805fb3e45c114bdaa74f9447759R329 should do the trick, I think ?