From 862e2fe2fb588cf43fe53eb5dc50f0b733f2a8f5 Mon Sep 17 00:00:00 2001 From: Jerzy Szczepkowski Date: Thu, 2 Jun 2016 09:40:11 +0200 Subject: [PATCH] Fixed problem with too long name in e2e autoscaling tests. Fixed problem with too long name in e2e autoscaling tests. --- test/e2e/autoscaling_utils.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/e2e/autoscaling_utils.go b/test/e2e/autoscaling_utils.go index 9a995a685df..f0d345cb217 100644 --- a/test/e2e/autoscaling_utils.go +++ b/test/e2e/autoscaling_utils.go @@ -99,7 +99,7 @@ func newResourceConsumer(name, kind string, replicas, initCPUTotal, initMemoryTo runServiceAndWorkloadForResourceConsumer(f.Client, f.Namespace.Name, name, kind, replicas, cpuLimit, memLimit) rc := &ResourceConsumer{ name: name, - controllerName: name + "-controller", + controllerName: name + "-ctrl", kind: kind, framework: f, cpu: make(chan int), @@ -361,7 +361,7 @@ func runServiceAndWorkloadForResourceConsumer(c *client.Client, ns, name, kind s } By(fmt.Sprintf("Running controller")) - controllerName := name + "-controller" + controllerName := name + "-ctrl" _, err = c.Services(ns).Create(&api.Service{ ObjectMeta: api.ObjectMeta{ Name: controllerName,