diff options
author | Paulo Gomes <pjbgf@linux.com> | 2022-11-04 11:04:29 +0000 |
---|---|---|
committer | Paulo Gomes <pjbgf@linux.com> | 2022-11-07 14:50:08 +0000 |
commit | a2c309de872dc18053acb186b1ec125d1f723a90 (patch) | |
tree | 9e6ace8591fff4e95f982304842f0bf8512bd612 /repository_test.go | |
parent | 9490da0f86a12269abb2099e2ead1f20eec166d2 (diff) | |
download | go-git-a2c309de872dc18053acb186b1ec125d1f723a90.tar.gz |
tests: Replace time.sleep with eventually
The previous approach was intermittently flake, leading to different
results based on external results.
The check for goroutines numbers now checks for less or equal, as the
goal of the assertion is to confirm no goroutine is being leaked.
Signed-off-by: Paulo Gomes <pjbgf@linux.com>
Diffstat (limited to 'repository_test.go')
0 files changed, 0 insertions, 0 deletions