Yiyiyimu commented on issue #3447:
URL: https://github.com/apache/apisix/issues/3447#issuecomment-769022698
If you got time, maybe you could reproduce the error with the chaos test
branch.
Just start any APISIX instance, comment out the original test
(`TestGetSuccessWhenEtcdKilled`) and run the following one:
```
func Test(t *testing.T) {
e := httpexpect.New(t, host)
// check if everything works
setRoute(e, http.StatusCreated)
getRoute(e, http.StatusOK)
// run in background
go func() {
for i := 1; ; i++ {
go func() {
getRoute(e, http.StatusOK)
fmt.Println("###############################################")
}()
time.Sleep(100 * time.Millisecond) // so the time step
would be 0.1s
}
}()
time.Sleep(5 * time.Second)
}
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]