From 90cbef418f052d8c7b9a6d02aefd928f2c84dc19 Mon Sep 17 00:00:00 2001 From: Wojciech Tyczynski Date: Fri, 16 Sep 2016 14:57:10 +0200 Subject: [PATCH] Decrease timeout for namespace creation in test --- test/e2e/framework/util.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/e2e/framework/util.go b/test/e2e/framework/util.go index eb5a6229eed..7e46b7782f6 100644 --- a/test/e2e/framework/util.go +++ b/test/e2e/framework/util.go @@ -1027,7 +1027,7 @@ func CreateTestingNS(baseName string, c *client.Client, labels map[string]string } // Be robust about making the namespace creation call. var got *api.Namespace - if err := wait.PollImmediate(Poll, SingleCallTimeout, func() (bool, error) { + if err := wait.PollImmediate(Poll, 30*time.Second, func() (bool, error) { var err error got, err = c.Namespaces().Create(namespaceObj) if err != nil {