Skip to content

Commit

Permalink
fix failing e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
hisarbalik committed Jan 27, 2025
1 parent e8fcc03 commit 388ba5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/e2e/metrics_runtime_input_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@ func backendContainsDesiredResourceAttributes(proxyClient *apiserverproxy.Client
g.Expect(resp).To(HaveHTTPBody(HaveFlatMetrics(
ContainElement(SatisfyAll(
HaveName(Equal(metricName)),
HaveResourceAttributes(HaveKeys(ConsistOf(resourceAttributes))),
HaveResourceAttributes(HaveKeys(ContainElements(resourceAttributes))),
)),
)))
}, 3*periodic.TelemetryEventuallyTimeout, periodic.TelemetryInterval).Should(Succeed(), "Failed to find metric %s with resource attributes %v", metricName, resourceAttributes)
Expand Down

0 comments on commit 388ba5e

Please sign in to comment.