anacrolix / dht

dht is used by anacrolix/torrent, and is intended for use as a library in other projects both torrent related and otherwise
Mozilla Public License 2.0
313 stars 66 forks source link

Fix tests on circle CI. #49

Closed ajnavarro closed 3 years ago

ajnavarro commented 3 years ago

now go test -v ./... -race -count=2 command is working properly.

Signed-off-by: Antonio Navarro Perez antnavper@gmail.com

anacrolix commented 3 years ago

It's more likely that the server should also be closed when the test completes. Try passing in testing. T and using Cleanup.

anacrolix commented 3 years ago

I've moved the test that broke to the GitHub CI action now, but left it unfixed.