kubernetes/minikube

test: Remove duplicate kubernetes versions in tests

Open

Aperta il 3 set 2025

Vedi su GitHub
 (10 commenti) (0 reazioni) (3 assegnatari)Go (31.799 star) (5222 fork)batch import
good first issuehelp wanted

Descrizione

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

Guida contributor