Skip to content

Commit 0fe5d80

Browse files
committed
fix routegroup e2e for ratelimit
1 parent e4de7d0 commit 0fe5d80

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/e2e/routegroup.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,9 @@ rBackend: Path("/backend") -> inlineContent("%s") -> <shunt>;
390390
return code == http.StatusTooManyRequests
391391
}, false)
392392
Expect(err).NotTo(HaveOccurred())
393-
Expect(resp).To(Equal(expectedResponse))
393+
s, err = getBody(resp)
394+
Expect(err).NotTo(HaveOccurred())
395+
Expect(s).To(Equal(expectedResponse))
394396
})
395397

396398
It("Should create blue-green routes [RouteGroup] [Zalando]", func() {

0 commit comments

Comments
 (0)