hashicorp / yamux

Golang connection multiplexing library
Mozilla Public License 2.0
2.25k stars 236 forks source link

Fix tests race #55

Open filipochnik opened 6 years ago

filipochnik commented 6 years ago

2 small fixes to make the test suite pass with -race.

hashicorp-cla commented 5 years ago

CLA assistant check
All committers have signed the CLA.

jefferai commented 2 years ago

Any chance you can sign the CLA?

filipochnik commented 2 years ago

@jefferai done

jefferai commented 2 years ago

Thanks!

jefferai commented 2 years ago

With these changes I had to make some more modifications to the tests for them to compile, which I pushed up. However, the race detector still sees issues with the logs (among other things). I don't have time to fully dig into it now but if you want to chip away at it I can keep an eye on this PR.