Skip to content

Commit

Permalink
fix test case
Browse files Browse the repository at this point in the history
Signed-off-by: yiyiyimu <wosoyoung@gmail.com>
  • Loading branch information
Yiyiyimu committed Jan 27, 2021
1 parent 3430104 commit 0519a24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion t/chaos/kill-etcd_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ func TestGetSuccessWhenEtcdKilled(t *testing.T) {
// apply chaos to kill all etcd pods
t.Run("kill all etcd pods", func(t *testing.T) {
_ = runCommand(t, "kubectl apply -f kill-etcd.yaml")
time.Sleep(30)
time.Sleep(3 * time.Second)
})

// fail to set route since etcd is all killed
Expand Down

0 comments on commit 0519a24

Please sign in to comment.