mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-07-31 14:24:25 +03:00
Add busy count for integration tests
Integration tests need to be notified when Lazygit is idle so they can progress to the next assertion / user action.
This commit is contained in:
@ -13,6 +13,8 @@ type assertionHelper struct {
|
||||
|
||||
// milliseconds we'll wait when an assertion fails.
|
||||
func retryWaitTimes() []int {
|
||||
return []int{0}
|
||||
|
||||
if os.Getenv("LONG_WAIT_BEFORE_FAIL") == "true" {
|
||||
// CI has limited hardware, may be throttled, runs tests in parallel, etc, so we
|
||||
// give it more leeway compared to when we're running things locally.
|
||||
|
Reference in New Issue
Block a user