mirror of https://github.com/k3s-io/k3s
Merge pull request #23851 from gmarek/percentile
Automatic merge from submit-queue Print 100th percentile of resource usage when gatherer is turned on. Ref. #23820pull/6/head
commit
fd1923098b
|
@ -199,7 +199,7 @@ func (f *Framework) afterEach() {
|
||||||
summaries := make([]TestDataSummary, 0)
|
summaries := make([]TestDataSummary, 0)
|
||||||
if testContext.GatherKubeSystemResourceUsageData && f.gatherer != nil {
|
if testContext.GatherKubeSystemResourceUsageData && f.gatherer != nil {
|
||||||
By("Collecting resource usage data")
|
By("Collecting resource usage data")
|
||||||
summaries = append(summaries, f.gatherer.stopAndSummarize([]int{90, 99}, f.addonResourceConstraints))
|
summaries = append(summaries, f.gatherer.stopAndSummarize([]int{90, 99, 100}, f.addonResourceConstraints))
|
||||||
}
|
}
|
||||||
|
|
||||||
if testContext.GatherLogsSizes {
|
if testContext.GatherLogsSizes {
|
||||||
|
|
Loading…
Reference in New Issue