Skip to content

Commit

Permalink
remove redundant test.sh file (kubeflow#2243)
Browse files Browse the repository at this point in the history
* Fix go lint error

Signed-off-by: Yi Chen <[email protected]>

* Remove test.sh

Signed-off-by: Yi Chen <[email protected]>

---------

Signed-off-by: Yi Chen <[email protected]>
  • Loading branch information
ChenYi015 authored Oct 14, 2024
1 parent 8342f2c commit 3acd0f1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 19 deletions.
6 changes: 2 additions & 4 deletions internal/controller/sparkapplication/controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -369,8 +369,7 @@ var _ = Describe("SparkApplication Controller", func() {
Expect(result.Requeue).To(BeFalse())

app := &v1beta2.SparkApplication{}
err = k8sClient.Get(ctx, key, app)
Expect(err).NotTo(HaveOccurred())
Expect(k8sClient.Get(ctx, key, app)).NotTo(HaveOccurred())
Expect(app.Status.ExecutorState).To(HaveLen(2))
})

Expand All @@ -389,8 +388,7 @@ var _ = Describe("SparkApplication Controller", func() {
Expect(result.Requeue).To(BeFalse())

app := &v1beta2.SparkApplication{}
err = k8sClient.Get(ctx, key, app)
Expect(err).NotTo(HaveOccurred())
Expect(k8sClient.Get(ctx, key, app)).NotTo(HaveOccurred())
Expect(app.Status.ExecutorState).To(HaveLen(1))
})
})
Expand Down
15 changes: 0 additions & 15 deletions test.sh

This file was deleted.

0 comments on commit 3acd0f1

Please sign in to comment.