type testcase … func TestLeaseCandidateCreation(t *testing.T) { … } func TestLeaseCandidateAck(t *testing.T) { … } func pollForLease(ctx context.Context, tc testcase, client *fake.Clientset, t *metav1.MicroTime) error { … }
type testcase … func TestLeaseCandidateCreation(t *testing.T) { … } func TestLeaseCandidateAck(t *testing.T) { … } func pollForLease(ctx context.Context, tc testcase, client *fake.Clientset, t *metav1.MicroTime) error { … }