From 19b1d822555bf3ebd0a83593e540fdcc9ac185da Mon Sep 17 00:00:00 2001 From: Ilya Zuyev Date: Fri, 12 Feb 2021 16:16:22 -0800 Subject: [PATCH] Fix the test --- test/integration/pkg_install_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/integration/pkg_install_test.go b/test/integration/pkg_install_test.go index cc7f21faf8..00912839b0 100644 --- a/test/integration/pkg_install_test.go +++ b/test/integration/pkg_install_test.go @@ -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) }