Commit fbb6cc4a authored by Wojciech Tyczynski's avatar Wojciech Tyczynski

Add logss to debug scalability failure

parent 6e2e3986
...@@ -179,16 +179,19 @@ func (f *Framework) afterEach() { ...@@ -179,16 +179,19 @@ func (f *Framework) afterEach() {
summaries := make([]TestDataSummary, 0) summaries := make([]TestDataSummary, 0)
if testContext.GatherKubeSystemResourceUsageData { if testContext.GatherKubeSystemResourceUsageData {
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}, f.addonResourceConstraints))
} }
if testContext.GatherLogsSizes { if testContext.GatherLogsSizes {
By("Gathering log sizes data")
close(f.logsSizeCloseChannel) close(f.logsSizeCloseChannel)
f.logsSizeWaitGroup.Wait() f.logsSizeWaitGroup.Wait()
summaries = append(summaries, f.logsSizeVerifier.GetSummary()) summaries = append(summaries, f.logsSizeVerifier.GetSummary())
} }
if testContext.GatherMetricsAfterTest { if testContext.GatherMetricsAfterTest {
By("Gathering metrics")
// TODO: enable Scheduler and ControllerManager metrics grabbing when Master's Kubelet will be registered. // TODO: enable Scheduler and ControllerManager metrics grabbing when Master's Kubelet will be registered.
grabber, err := metrics.NewMetricsGrabber(f.Client, true, false, false, true) grabber, err := metrics.NewMetricsGrabber(f.Client, true, false, false, true)
if err != nil { 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