kubernetes/minikube

test: Remove duplicate kubernetes versions in tests

Closed

#21,483 opened on Sep 3, 2025

 (10 comments) (0 reactions) (3 assignees)Go (5,222 forks)batch import
good first issuehelp wanted

Repository metrics

Stars
 (31,799 stars)
PR merge metrics
 (PR metrics pending)

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