Merge pull request #5082 from sharifelgamal/windows-ci

Fix TestVersionUpgrade for Windows
pull/5089/head
Sharif Elgamal 2019-08-14 14:08:47 -07:00 committed by GitHub
commit 88c27daf70
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -62,6 +62,9 @@ func TestVersionUpgrade(t *testing.T) {
err := fileExists(fname)
if err != nil { // download file if it is not downloaded by other test
dest := filepath.Join(*testdataDir, fmt.Sprintf("minikube-%s-%s-latest-stable", runtime.GOOS, runtime.GOARCH))
if runtime.GOOS == "windows" {
dest += ".exe"
}
err := downloadMinikubeBinary(t, dest, "latest")
if err != nil {
// binary is needed for the test