test: add more tests (#1166)

* chore: reverse the order of stopping services

* chore: reverse the order of stopping services

* test: add more tests
This commit is contained in:
Kevin Wan
2021-10-28 10:04:59 +08:00
committed by GitHub
parent eda8230521
commit bd26783b33
4 changed files with 17 additions and 1 deletions

View File

@@ -50,6 +50,8 @@ func TestRetryWithPerRetryTimeout(t *testing.T) {
}
func Test_waitRetryBackoff(t *testing.T) {
logx.Disable()
opt := &options{perCallTimeout: time.Second, backoffFunc: func(attempt int) time.Duration {
return time.Second
}}