Decrease timeout for namespace creation in test

This commit is contained in:
Wojciech Tyczynski 2016-09-16 14:57:10 +02:00
parent 00a203df1e
commit 90cbef418f

View File

@ -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 {