Skip to content

Commit 1d28efd

Browse files
author
Marco Cadetg
committed
generate testdata samples
1 parent c4c93ac commit 1d28efd

File tree

8 files changed

+8
-0
lines changed

8 files changed

+8
-0
lines changed

docs/book/src/component-config-tutorial/testdata/project/test/e2e/e2e_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ var _ = Describe("controller", Ordered, func() {
7474
By("installing CRDs")
7575
cmd = exec.Command("make", "install")
7676
_, err = utils.Run(cmd)
77+
ExpectWithOffset(1, err).NotTo(HaveOccurred())
7778

7879
By("deploying the controller-manager")
7980
cmd = exec.Command("make", "deploy", fmt.Sprintf("IMG=%s", projectimage))

docs/book/src/cronjob-tutorial/testdata/project/test/e2e/e2e_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ var _ = Describe("controller", Ordered, func() {
7474
By("installing CRDs")
7575
cmd = exec.Command("make", "install")
7676
_, err = utils.Run(cmd)
77+
ExpectWithOffset(1, err).NotTo(HaveOccurred())
7778

7879
By("deploying the controller-manager")
7980
cmd = exec.Command("make", "deploy", fmt.Sprintf("IMG=%s", projectimage))

docs/book/src/getting-started/testdata/project/test/e2e/e2e_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ var _ = Describe("controller", Ordered, func() {
7474
By("installing CRDs")
7575
cmd = exec.Command("make", "install")
7676
_, err = utils.Run(cmd)
77+
ExpectWithOffset(1, err).NotTo(HaveOccurred())
7778

7879
By("deploying the controller-manager")
7980
cmd = exec.Command("make", "deploy", fmt.Sprintf("IMG=%s", projectimage))

testdata/project-v4-multigroup-with-deploy-image/test/e2e/e2e_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ var _ = Describe("controller", Ordered, func() {
7474
By("installing CRDs")
7575
cmd = exec.Command("make", "install")
7676
_, err = utils.Run(cmd)
77+
ExpectWithOffset(1, err).NotTo(HaveOccurred())
7778

7879
By("deploying the controller-manager")
7980
cmd = exec.Command("make", "deploy", fmt.Sprintf("IMG=%s", projectimage))

testdata/project-v4-multigroup/test/e2e/e2e_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ var _ = Describe("controller", Ordered, func() {
7474
By("installing CRDs")
7575
cmd = exec.Command("make", "install")
7676
_, err = utils.Run(cmd)
77+
ExpectWithOffset(1, err).NotTo(HaveOccurred())
7778

7879
By("deploying the controller-manager")
7980
cmd = exec.Command("make", "deploy", fmt.Sprintf("IMG=%s", projectimage))

testdata/project-v4-with-deploy-image/test/e2e/e2e_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ var _ = Describe("controller", Ordered, func() {
7474
By("installing CRDs")
7575
cmd = exec.Command("make", "install")
7676
_, err = utils.Run(cmd)
77+
ExpectWithOffset(1, err).NotTo(HaveOccurred())
7778

7879
By("deploying the controller-manager")
7980
cmd = exec.Command("make", "deploy", fmt.Sprintf("IMG=%s", projectimage))

testdata/project-v4-with-grafana/test/e2e/e2e_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ var _ = Describe("controller", Ordered, func() {
7474
By("installing CRDs")
7575
cmd = exec.Command("make", "install")
7676
_, err = utils.Run(cmd)
77+
ExpectWithOffset(1, err).NotTo(HaveOccurred())
7778

7879
By("deploying the controller-manager")
7980
cmd = exec.Command("make", "deploy", fmt.Sprintf("IMG=%s", projectimage))

testdata/project-v4/test/e2e/e2e_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ var _ = Describe("controller", Ordered, func() {
7474
By("installing CRDs")
7575
cmd = exec.Command("make", "install")
7676
_, err = utils.Run(cmd)
77+
ExpectWithOffset(1, err).NotTo(HaveOccurred())
7778

7879
By("deploying the controller-manager")
7980
cmd = exec.Command("make", "deploy", fmt.Sprintf("IMG=%s", projectimage))

0 commit comments

Comments
 (0)