From e12e630376aa627453ad549cc9b234f6285295c6 Mon Sep 17 00:00:00 2001 From: Aleksandra Malinowska Date: Thu, 13 Jul 2017 11:40:49 +0200 Subject: [PATCH] add more logs for debugging to autoscaling tests --- test/e2e/autoscaling/cluster_size_autoscaling.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/e2e/autoscaling/cluster_size_autoscaling.go b/test/e2e/autoscaling/cluster_size_autoscaling.go index d24166d87cf..f28742f95a7 100644 --- a/test/e2e/autoscaling/cluster_size_autoscaling.go +++ b/test/e2e/autoscaling/cluster_size_autoscaling.go @@ -1279,7 +1279,7 @@ func getClusterwideStatus(c clientset.Interface) (string, error) { } result := matcher.FindStringSubmatch(status) if len(result) < 2 { - return "", fmt.Errorf("Failed to parse CA status configmap") + return "", fmt.Errorf("Failed to parse CA status configmap, raw status: %v", status) } return result[1], nil } @@ -1307,7 +1307,7 @@ func getScaleUpStatus(c clientset.Interface) (*scaleUpStatus, error) { } matches := matcher.FindAllStringSubmatch(status, -1) if len(matches) < 1 { - return nil, fmt.Errorf("Failed to parse CA status configmap") + return nil, fmt.Errorf("Failed to parse CA status configmap, raw status: %v", status) } result := scaleUpStatus{ status: caNoScaleUpStatus,