kubernetes/minikube

test: Remove duplicate kubernetes versions in tests

Open

#21483 opened on Sep 3, 2025

View on GitHub
 (10 comments) (0 reactions) (3 assignees)Go (31,799 stars) (5,222 forks)batch import
good first issuehelp wanted

Description

Some tests use multiple kubernetes versions:

	versions := []string{
		constants.OldestKubernetesVersion,
		constants.DefaultKubernetesVersion,
		constants.NewestKubernetesVersion,
	}

Currently DefaultKubernetesVersion and constants.NewestKubernetesVersion are the same ("1.34.0") so we run the same test twice.

Fix:

  • remove duplicate versions in the list

Contributor guide