Commit 90cbef41 authored by Wojciech Tyczynski's avatar Wojciech Tyczynski

Decrease timeout for namespace creation in test

parent 00a203df
...@@ -1027,7 +1027,7 @@ func CreateTestingNS(baseName string, c *client.Client, labels map[string]string ...@@ -1027,7 +1027,7 @@ func CreateTestingNS(baseName string, c *client.Client, labels map[string]string
} }
// Be robust about making the namespace creation call. // Be robust about making the namespace creation call.
var got *api.Namespace 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 var err error
got, err = c.Namespaces().Create(namespaceObj) got, err = c.Namespaces().Create(namespaceObj)
if err != nil { if err != nil {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment