kubernetes/minikube

test: Remove duplicate kubernetes versions in tests

Open

#21,483 创建于 2025年9月3日

在 GitHub 查看
 (10 评论) (0 反应) (3 负责人)Go (31,799 star) (5,222 fork)batch import
good first issuehelp wanted

描述

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

贡献者指南