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 (#7900)
  • Loading branch information
tzssangglass authored Sep 13, 2022
1 parent c85b9e5 commit c759a63
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 @@ -26,7 +26,7 @@ jobs:
- name: Setup go
uses: actions/setup-go@v3
with:
go-version: "1.16"
go-version: "1.17"

- uses: actions/cache@v3
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 @@ -150,7 +150,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 c759a63

Please sign in to comment.