Commit ea0b040e authored by k8s-merge-robot's avatar k8s-merge-robot

Merge pull request #21312 from wojtek-t/logs_for_scalability_debug

Auto commit by PR queue bot
parents a12b202d fbb6cc4a
......@@ -179,16 +179,19 @@ func (f *Framework) afterEach() {
summaries := make([]TestDataSummary, 0)
if testContext.GatherKubeSystemResourceUsageData {
By("Collecting resource usage data")
summaries = append(summaries, f.gatherer.stopAndSummarize([]int{90, 99}, f.addonResourceConstraints))
}
if testContext.GatherLogsSizes {
By("Gathering log sizes data")
close(f.logsSizeCloseChannel)
f.logsSizeWaitGroup.Wait()
summaries = append(summaries, f.logsSizeVerifier.GetSummary())
}
if testContext.GatherMetricsAfterTest {
By("Gathering metrics")
// TODO: enable Scheduler and ControllerManager metrics grabbing when Master's Kubelet will be registered.
grabber, err := metrics.NewMetricsGrabber(f.Client, true, false, false, true)
if err != nil {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment