mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +00:00
Decrease timeout for namespace creation in test
This commit is contained in:
parent
00a203df1e
commit
90cbef418f
@ -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 New Issue
Block a user