[Federation] Fixes the newly-added test for replicaset deletion upon namespace deletion.

See #41278 for the original test.
This commit is contained in:
Jonathan MacMillan 2017-02-15 11:00:09 -08:00
parent 14bdeceeb4
commit 80205b2320

View File

@ -102,7 +102,7 @@ var _ = framework.KubeDescribe("Federation namespace [Feature:Federation]", func
It("deletes replicasets in the namespace when the namespace is deleted", func() {
fedframework.SkipUnlessFederated(f.ClientSet)
nsName := createNamespace(f.FederationClientset.Core().Namespaces())
nsName = createNamespace(f.FederationClientset.Core().Namespaces())
rsName := v1.SimpleNameGenerator.GenerateName(replicaSetNamePrefix)
replicaCount := int32(2)
rs := &v1beta1.ReplicaSet{