Skip to content

Commit

Permalink
Update e2e tests
Browse files Browse the repository at this point in the history
Signed-off-by: Yi Chen <[email protected]>
  • Loading branch information
ChenYi015 committed Jul 5, 2024
1 parent 3a60eb6 commit 71a7ed7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions test/e2e/sparkapplication_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ var _ = Describe("Example SparkApplication", func() {
}
})

It("should complete successfully", func() {
It("Should complete successfully", func() {
By("Waiting for SparkApplication to complete")
key := types.NamespacedName{Namespace: app.Namespace, Name: app.Name}
cancelCtx, cancelFunc := context.WithTimeout(ctx, WaitTimeout)
Expand Down Expand Up @@ -194,7 +194,7 @@ var _ = Describe("Example SparkApplication", func() {
Expect(k8sClient.Delete(ctx, app)).To(Succeed())
})

It("should complete successfully", func() {
It("Should complete successfully", func() {
By("Waiting for SparkApplication to complete")
key := types.NamespacedName{Namespace: app.Namespace, Name: app.Name}
cancelCtx, cancelFunc := context.WithTimeout(ctx, WaitTimeout)
Expand Down Expand Up @@ -243,7 +243,7 @@ var _ = Describe("Example SparkApplication", func() {
Expect(k8sClient.Delete(ctx, app)).To(Succeed())
})

It("should complete successfully", func() {
It("Should complete successfully", func() {
By("Waiting for SparkApplication to complete")
key := types.NamespacedName{Namespace: app.Namespace, Name: app.Name}
cancelCtx, cancelFunc := context.WithTimeout(ctx, WaitTimeout)
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/suit_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ var _ = AfterSuite(func() {
uninstallAction.Timeout = 5 * time.Minute
resp, err := uninstallAction.Run(ReleaseName)
Expect(err).To(BeNil())
Expect(resp).To(BeNil())
Expect(resp).NotTo(BeNil())

By("Deleting release namespace")
namespace := &corev1.Namespace{ObjectMeta: metav1.ObjectMeta{Name: ReleaseNamespace}}
Expand Down

0 comments on commit 71a7ed7

Please sign in to comment.