Skip to content

Commit

Permalink
test(chaos): in deployment mode, after all etcd nodes are down, upsre…
Browse files Browse the repository at this point in the history
…am gets 502 (apache#7900)

(cherry picked from commit c759a63)
  • Loading branch information
tzssangglass committed Sep 23, 2022
1 parent 2152378 commit ae8bbb0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/chaos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Setup go
uses: actions/setup-go@v2.1.4
with:
go-version: "1.16"
go-version: "1.17"

- uses: actions/cache@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion t/chaos/killetcd/killetcd.go
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ var _ = ginkgo.Describe("Test Get Success When Etcd Got Killed", func() {

errorLog, err := utils.Log(apisixPod, cliSet.KubeCli, timeStart)
gomega.Expect(err).To(gomega.BeNil())
gomega.Ω(errorLog).Should(gomega.ContainSubstring("no healthy etcd endpoint available"))
gomega.Ω(errorLog).Should(gomega.ContainSubstring("invalid response code: 502"))
})

ginkgo.It("ingress bandwidth per second not change much", func() {
Expand Down

0 comments on commit ae8bbb0

Please sign in to comment.