Skip to content

Commit

Permalink
test(MeshService): fix testdata references (#10321)
Browse files Browse the repository at this point in the history
* test(MeshService): fix testdata references
* test: update expected

Signed-off-by: Mike Beaumont <mjboamail@gmail.com>
  • Loading branch information
michaelbeaumont authored May 27, 2024
1 parent dc92b27 commit 45d9ca7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@ var _ = Describe("MeshServiceController", func() {
outputFile: "01.meshservice.yaml",
}),
Entry("with service with mesh label", testCase{
inputFile: "01.resources.yaml",
outputFile: "01.meshservice.yaml",
inputFile: "02.resources.yaml",
outputFile: "02.meshservice.yaml",
}),
Entry("without mesh label and sidecar injection namespace", testCase{
inputFile: "03.resources.yaml",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
metadata:
creationTimestamp: null
labels:
k8s.kuma.io/service-name: example
kuma.io/mesh: default
name: example
namespace: demo
Expand All @@ -19,7 +20,7 @@ spec:
protocol: tcp
targetPort: 8443
selector: {}
status:
tls: {}
vips:
- ip: 192.168.0.1
status:
tls: {}
vips:
- ip: 192.168.0.1

0 comments on commit 45d9ca7

Please sign in to comment.