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:
@@ -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
|
||||
}}
|
||||
|
||||
Reference in New Issue
Block a user