Skip to content

Commit

Permalink
Remove useless assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
bonzofenix committed Jun 18, 2024
1 parent 4fa6ffd commit f442864
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -235,11 +235,6 @@ var _ = Describe("Eventgenerator", func() {

rsp, err := httpsClient.Do(req)
Expect(err).ToNot(HaveOccurred())

body, err := io.ReadAll(rsp.Body)
Expect(err).NotTo(HaveOccurred())
Expect(string(body)).To(ContainSubstring("autoscaler_eventgenerator_concurrent_http_request"))

Expect(rsp.StatusCode).To(Equal(http.StatusOK))
})
})
Expand Down

0 comments on commit f442864

Please sign in to comment.