aboutsummaryrefslogtreecommitdiffstats
path: root/prune_test.go
diff options
context:
space:
mode:
authorPaulo Gomes <pjbgf@linux.com>2022-11-04 11:04:29 +0000
committerPaulo Gomes <pjbgf@linux.com>2022-11-07 14:50:08 +0000
commita2c309de872dc18053acb186b1ec125d1f723a90 (patch)
tree9e6ace8591fff4e95f982304842f0bf8512bd612 /prune_test.go
parent9490da0f86a12269abb2099e2ead1f20eec166d2 (diff)
downloadgo-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 'prune_test.go')
0 files changed, 0 insertions, 0 deletions