Skip to content

Commit

Permalink
test the e2e
Browse files Browse the repository at this point in the history
Signed-off-by: myan <[email protected]>
  • Loading branch information
yanmxa committed Jul 5, 2024
1 parent 7f9969c commit 2a37213
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/e2e/pkg/sourceclient_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ var _ = Describe("gRPC Source ManifestWork Client Test", func() {
var workName string

BeforeEach(func() {
workName = "work-" + rand.String(5)
workName = "work-" + rand.String(6)
work := NewManifestWork(workName)
_, err := workClient.ManifestWorks(consumer.Name).Create(ctx, work, metav1.CreateOptions{})
Expect(err).ShouldNot(HaveOccurred())
Expand All @@ -46,7 +46,6 @@ var _ = Describe("gRPC Source ManifestWork Client Test", func() {
Eventually(func() error {
return AssertWorkNotFound(workName)
}, 30*time.Second, 1*time.Second).ShouldNot(HaveOccurred())

})

It("Should return an error when updating an obsolete work", func() {
Expand Down

0 comments on commit 2a37213

Please sign in to comment.