mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-04-25 12:24:47 +02:00
faster test
This commit is contained in:
parent
5c11b1ecb7
commit
13639ac924
@ -247,7 +247,7 @@ func (self *Assert) matchString(matcher *matcher, context string, getValue func(
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (self *Assert) assertWithRetries(test func() (bool, string)) {
|
func (self *Assert) assertWithRetries(test func() (bool, string)) {
|
||||||
waitTimes := []int{0, 1, 5, 10, 200, 500, 1000, 2000, 4000}
|
waitTimes := []int{0, 1, 1, 1, 1, 1, 5, 10, 20, 40, 100, 200, 500, 1000, 2000, 4000}
|
||||||
|
|
||||||
var message string
|
var message string
|
||||||
for _, waitTime := range waitTimes {
|
for _, waitTime := range waitTimes {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user