mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-03-11 11:00:57 -04:00
Decrease timeout for namespace creation in test
This commit is contained in:
parent
00a203df1e
commit
90cbef418f
1 changed files with 1 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue