mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-11-02 11:18:16 +00:00
make linter happy
This commit is contained in:
@@ -191,7 +191,9 @@ func TestGatedPodSchedulableAfterEvent(t *testing.T) {
|
||||
}
|
||||
|
||||
// delete p2, which triggers DeletePodFromCache event
|
||||
cs.CoreV1().Pods(ns).Delete(ctx, "p2", metav1.DeleteOptions{})
|
||||
if err := cs.CoreV1().Pods(ns).Delete(ctx, "p2", metav1.DeleteOptions{}); err != nil {
|
||||
t.Fatal("Error calling Delete on p2")
|
||||
}
|
||||
if err := wait.PollUntilContextTimeout(ctx, 200*time.Millisecond, wait.ForeverTestTimeout, false, testutils.PodDeleted(ctx, cs, ns, "p2")); err != nil {
|
||||
t.Fatal("Failed to delete p2")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user