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 139c07b commit c60bbb5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/e2e/kusionctl_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ var _ = ginkgo.Describe("kusion Runtime Commands", func() {
gomega.Eventually(func() bool {
_, err := clusterClient.AppsV1().Deployments("service-multi-stack").Get(context.TODO(), "service-multi-stack-dev-echoserver", metav1.GetOptions{})
return err == nil
}, 300*time.Second, 5*time.Second).Should(gomega.Equal(true))
}, 900*time.Second, 5*time.Second).Should(gomega.Equal(true))
})

ginkgo.By("kusion destroy", func() {
Expand All @@ -91,7 +91,7 @@ var _ = ginkgo.Describe("kusion Runtime Commands", func() {
gomega.Eventually(func() bool {
_, err := clusterClient.CoreV1().Namespaces().Get(context.TODO(), "service-multi-stack", metav1.GetOptions{})
return errors.IsNotFound(err)
}, 300*time.Second, 5*time.Second).Should(gomega.Equal(true))
}, 900*time.Second, 5*time.Second).Should(gomega.Equal(true))
})
})
})
Expand Down Expand Up @@ -129,7 +129,7 @@ var _ = ginkgo.Describe("konfig Quickstart test", func() {
gomega.Eventually(func() bool {
_, err := clusterClient.AppsV1().Deployments("quickstart").Get(context.TODO(), "quickstart-default-quickstart", metav1.GetOptions{})
return err == nil
}, 300*time.Second, 5*time.Second).Should(gomega.Equal(true))
}, 900*time.Second, 5*time.Second).Should(gomega.Equal(true))
})

ginkgo.By("kusion destroy", func() {
Expand All @@ -150,7 +150,7 @@ var _ = ginkgo.Describe("konfig Quickstart test", func() {
gomega.Eventually(func() bool {
_, err := clusterClient.CoreV1().Namespaces().Get(context.TODO(), "quickstart", metav1.GetOptions{})
return errors.IsNotFound(err)
}, 300*time.Second, 5*time.Second).Should(gomega.Equal(true))
}, 900*time.Second, 5*time.Second).Should(gomega.Equal(true))
})
})
})

0 comments on commit c60bbb5

Please sign in to comment.