We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68b029b commit 6023693Copy full SHA for 6023693
test/e2e/gatewayapi/httproute.go
@@ -525,11 +525,11 @@ spec:
525
526
serviceResources, err := s.DefaultDataplaneResource().Service().List(context.Background())
527
Expect(err).NotTo(HaveOccurred(), "listing services")
528
- Expect(len(serviceResources)).To(Equal(1))
+ Expect(serviceResources).To(HaveLen(1), "checking service length")
529
530
serviceResource := serviceResources[0]
531
nodes := serviceResource.Upstream.Nodes
532
- Expect(len(nodes)).To(Equal(1))
+ Expect(nodes).To(HaveLen(1), "checking nodes length")
533
Expect(nodes[0].Port).To(Equal(80))
534
})
535
0 commit comments