Fix the test

pull/10464/head
Ilya Zuyev 2021-02-12 16:16:22 -08:00
parent 64201731e0
commit 19b1d82255
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ func TestDebPackageInstall(t *testing.T) {
if err != nil {
t.Errorf("failed to get minikube path: %e", err)
}
mkDebs, err := filepath.Glob(fmt.Sprintf("%s/minikube_*_%s.deb", pkgDir, "amd64"))
mkDebs, err := filepath.Glob(fmt.Sprintf("%s/minikube_*_%s.deb", pkgDir, runtime.GOARCH))
if err != nil {
t.Errorf("failed to find minikube deb in %q: %e", pkgDir, err)
}