mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 03:41:45 +00:00
Remove sleep and final fetch of ReplicationController
This commit is contained in:
parent
3b1e2249b0
commit
054a886bf9
@ -262,13 +262,6 @@ var _ = SIGDescribe("ReplicationController", func() {
|
|||||||
break
|
break
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
ginkgo.By("waiting for 10 seconds to ensure that it's deleted")
|
|
||||||
time.Sleep(10 * time.Second)
|
|
||||||
|
|
||||||
// Get the ReplicationController to check that it's deleted
|
|
||||||
ginkgo.By("fetching the ReplicationController to ensure that it's deleted")
|
|
||||||
_, err = f.ClientSet.CoreV1().ReplicationControllers(testRcNamespace).Get(context.TODO(), testRcName, metav1.GetOptions{})
|
|
||||||
framework.ExpectError(err, "Failed to delete ReplicationController")
|
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user