annotate errors in e2e tests

fixed error message

fixed uppercases

fixed typo
This commit is contained in:
anuj
2019-01-09 20:11:15 +05:30
committed by Anuj Sharma
parent 58eb3e4b3a
commit d05b399261
2 changed files with 17 additions and 17 deletions

View File

@@ -455,7 +455,7 @@ func createBatchPodWithRateControl(f *framework.Framework, pods []*v1.Pod, inter
func getPodStartLatency(node string) (framework.KubeletLatencyMetrics, error) {
latencyMetrics := framework.KubeletLatencyMetrics{}
ms, err := metrics.GrabKubeletMetricsWithoutProxy(node)
Expect(err).NotTo(HaveOccurred())
Expect(err).NotTo(HaveOccurred(), "Failed to get kubelet metrics without proxy in node %s", node)
for _, samples := range ms {
for _, sample := range samples {