kubernetes/pkg/controlplane/controller/leaderelection/election_test.go

func TestPickBestLeaderOldestEmulationVersion(t *testing.T) {}

func TestValidLeaseCandidateForOldestEmulationVersion(t *testing.T) {}

func TestGetEmulationVersion(t *testing.T) {}

func TestGetBinaryVersion(t *testing.T) {}

func TestCompare(t *testing.T) {}

func TestShouldReelect(t *testing.T) {}

func TestTopologicalSortWithOneRoot(t *testing.T) {}

func TestPickBestStrategy(t *testing.T) {}

func equalStrategies(s1, s2 []v1.CoordinatedLeaseStrategy) bool {}

func shouldReelect(candidates []*v1alpha1.LeaseCandidate, currentLeader *v1alpha1.LeaseCandidate) bool {}