Skip to content

Commit

Permalink
changing curl logic to look for '< HTTP/1.1 200 OK'
Browse files Browse the repository at this point in the history
Signed-off-by: Adam D. Cornett <[email protected]>
  • Loading branch information
acornett21 committed Oct 30, 2024
1 parent 0a2e303 commit 0939d2d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/e2e/go/cluster_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ var _ = Describe("operator-sdk", func() {
ExpectWithOffset(1, err).NotTo(HaveOccurred())
return metricsOutput
}
Eventually(getCurlLogs, 3*time.Minute, time.Second).Should(ContainSubstring("< HTTP/2 200"))
Eventually(getCurlLogs, 3*time.Minute, time.Second).Should(ContainSubstring("< HTTP/1.1 200 OK"))

By("validating that pod(s) status.phase=Running")
getMemcachedPodStatus := func() error {
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/helm/cluster_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ var _ = Describe("Running Helm projects", func() {
Expect(err).NotTo(HaveOccurred())
return logOutput
}
Eventually(getCurlLogs, time.Minute, time.Second).Should(ContainSubstring("< HTTP/2 200"))
Eventually(getCurlLogs, time.Minute, time.Second).Should(ContainSubstring("< HTTP/1.1 200 OK"))

By("getting the CR namespace token")
crNamespace, err := tc.Kubectl.Get(
Expand Down

0 comments on commit 0939d2d

Please sign in to comment.