mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-20 10:20:51 +00:00
Add cleanup function
This commit is contained in:
parent
782bb43c4c
commit
076d96236e
@ -377,6 +377,9 @@ var _ = SIGDescribe("ReplicationController", func() {
|
||||
framework.ExpectEqual(eventFound, true, "failed to find RC %v event", watch.Added)
|
||||
|
||||
return actualWatchEvents
|
||||
}, func () (err error) {
|
||||
_ = f.ClientSet.CoreV1().ReplicationControllers(testRcNamespace).DeleteCollection(context.TODO(), metav1.DeleteOptions{}, metav1.ListOptions{LabelSelector: "test-rc-static=true"})
|
||||
return err
|
||||
})
|
||||
})
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user