mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
Update: namespaceName value updating order to prevent error expection
This commit is contained in:
parent
bd6550fb34
commit
2754cc37ea
@ -252,8 +252,8 @@ var _ = SIGDescribe("Namespaces [Serial]", func() {
|
||||
ginkgo.By("creating a Namespace")
|
||||
namespaceName := "nspatchtest-" + string(uuid.NewUUID())
|
||||
ns, err := f.CreateNamespace(namespaceName, nil)
|
||||
namespaceName = ns.ObjectMeta.Name
|
||||
framework.ExpectNoError(err, "failed creating Namespace")
|
||||
namespaceName = ns.ObjectMeta.Name
|
||||
|
||||
ginkgo.By("patching the Namespace")
|
||||
nspatch := `{"metadata":{"labels":{"testLabel":"testValue"}}}`
|
||||
|
Loading…
Reference in New Issue
Block a user