Skip to content

Commit

Permalink
fix test, update port to use name
Browse files Browse the repository at this point in the history
  • Loading branch information
p-se committed Apr 10, 2024
1 parent 89e5498 commit 49e7ac9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
3 changes: 1 addition & 2 deletions e2e/assets/metrics/fleetcontroller_service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,5 @@ spec:
ports:
- protocol: TCP
port: {{ .Port }}
# targetPort: metrics # if named in fleet-controller container of pod
targetPort: 8080
targetPort: metrics
type: LoadBalancer
7 changes: 3 additions & 4 deletions e2e/metrics/bundledeployment_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,10 +136,9 @@ var _ = Describe("BundleDeployment Metrics", Label("bundledeployment"), func() {

objName := objName + "-simple-manifest"

Eventually(func() error {
_, err := kw.Get("bundledeployment", objName)
return err
}).ShouldNot(HaveOccurred())
Eventually(func() (string, error) {
return kw.Get("-A", "bundledeployment")
}).Should(ContainSubstring(objName))

var (
out string
Expand Down

0 comments on commit 49e7ac9

Please sign in to comment.