Skip to content

Commit

Permalink
test: e2e test on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
liu-hm19 committed Jul 1, 2024
1 parent f5f61a1 commit c38df92
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/e2e/e2e_suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package e2e

import (
"fmt"
"os"
"path/filepath"
"runtime"
"testing"
Expand Down Expand Up @@ -41,7 +42,8 @@ var _ = ginkgo.BeforeSuite(func() {

ginkgo.By("kusion init", func() {
path := filepath.Join(GetWorkDir(), "konfig", "quickstart")
_, err := ExecKusionWithStdin(kusionInitCmd, path, "\n")
err := os.MkdirAll(path, 0o755)
_, err = ExecKusionWithStdin(kusionInitCmd, path, "\n")
gomega.Expect(err).ShouldNot(gomega.HaveOccurred())
})
})
Expand Down

0 comments on commit c38df92

Please sign in to comment.