mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-07-20 16:19:33 +00:00
improve the log message to clarify the cause of the failure
This commit is contained in:
@@ -648,7 +648,7 @@ func (tc *throughputCollector) collect() []DataItem {
|
||||
// tc.schedulingThroughputs can be empty if the scenario doesn't have
|
||||
// enough number of pods and nodes to take more than throughputSampleInterval (i.e. 1 second).
|
||||
if throughputSummary.Data == nil {
|
||||
klog.Warningf("Failed to measure SchedulingThroughput for %s. You would need to increase the number of pods and nodes.", tc.resultLabels["Name"])
|
||||
klog.Warningf("Failed to measure SchedulingThroughput for %s. The scenario needs to have enough pods and nodes to take more than 1 second.", tc.resultLabels["Name"])
|
||||
}
|
||||
|
||||
return []DataItem{throughputSummary}
|
||||
|
||||
Reference in New Issue
Block a user