kubernetes/minikube

test: Remove duplicate kubernetes versions in tests

已关闭

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

 (10 条评论) (0 个反应) (3 位负责人)Go (5,222 个派生)batch import
good first issuehelp wanted

仓库指标

星标
 (31,799 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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

贡献者指南