const testFinalizer … func getTestTaint() v1.Taint { … } // Create a default pod for this test, with argument saying if the Pod should have // toleration for Taits used in this test. func createPodForTaintsTest(hasToleration bool, tolerationSeconds int, podName, podLabel, ns string) *v1.Pod { … } // Creates and starts a controller (informer) that watches updates on a pod in given namespace with given name. It puts a new // struct into observedDeletion channel for every deletion it sees. func createTestController(ctx context.Context, cs clientset.Interface, observedDeletions chan string, podLabel, ns string) { … } const kubeletPodDeletionDelaySeconds … const additionalWaitPerDeleteSeconds … var _ … var _ …