mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 19:31:44 +00:00
replace test error checking with more readable way
This commit is contained in:
parent
087bc1369e
commit
73c2daeeea
@ -411,7 +411,7 @@ var _ = SIGDescribe("kubelet", func() {
|
||||
|
||||
ginkgo.By("Delete the pod mounted to the NFS volume -- expect failure")
|
||||
err := framework.DeletePodWithWait(f, c, pod)
|
||||
gomega.Expect(err).To(gomega.HaveOccurred())
|
||||
framework.ExpectError(err)
|
||||
// pod object is now stale, but is intentionally not nil
|
||||
|
||||
ginkgo.By("Check if pod's host has been cleaned up -- expect not")
|
||||
|
Loading…
Reference in New Issue
Block a user