Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
freeznet committed Feb 25, 2025
1 parent 813435c commit f8c18e4
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions tests/operator/resources_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -497,16 +497,6 @@ var _ = Describe("Resources", func() {
})
})

Context("PulsarPackage operation with invalid file URL", func() {
It("should create the pulsarpackage failed with invalid file URL", func() {
ppackage.Spec.FileURL = invalidFileURL
ppackage.Spec.PackageURL = "function://public/default/file@invalid"
ppackage.Name = "test-func-invalid"
err := k8sClient.Create(ctx, ppackage)
Expect(err != nil).Should(BeTrue())
})
})

Context("PulsarPackage operation with valid file URL", func() {
It("should create the pulsarpackage successfully with valid file URL", func() {
ppackage.Spec.FileURL = "file:///manager" // we use the manager binary as the file URL
Expand Down

0 comments on commit f8c18e4

Please sign in to comment.