change test names to fix flake reports

pull/12449/head
Sharif Elgamal 2021-09-10 16:00:17 -07:00
parent 3e25ee3dfe
commit 18df54221d
1 changed files with 2 additions and 1 deletions

View File

@ -24,6 +24,7 @@ import (
"os/exec"
"path/filepath"
"runtime"
"strings"
"testing"
)
@ -67,7 +68,7 @@ func TestDebPackageInstall(t *testing.T) {
for _, distro := range distros {
distroImg := distro
testName := fmt.Sprintf("install_%s_%s", runtime.GOARCH, distroImg)
testName := fmt.Sprintf("install_%s_%s", runtime.GOARCH, strings.ReplaceAll(distroImg, ":", "_"))
t.Run(testName, func(t *testing.T) {
// apt-get update; dpkg -i minikube_${ver}_${arch}.deb
t.Run("minikube", func(t *testing.T) {