Hi,
I have a unit test that exercises the direct one to one communication using yamux streams and if the test is ran several times over, it fails and I get a dump with several hundreds of these messages.
It seems like a peer store Go routine is leaked. The test is fairly straight forward - create two peers, connect one to the other and send a message via the stream that is established and then close the stream.
Is this something you have seen before? Would appreciate any insights.
thanks,
V
goroutine 54611 [select, 9 minutes]:
github.com/libp2p/go-libp2p-peerstore/pstoremem.(*memoryAddrBook).background(0xc001424d00)
/Users/vishalchangrani/go/pkg/mod/github.com/libp2p/go-libp2p-peerstore@v0.1.4/pstoremem/addr_book.go:81 +0x12f
created by github.com/libp2p/go-libp2p-peerstore/pstoremem.NewAddrBook
/Users/vishalchangrani/go/pkg/mod/github.com/libp2p/go-libp2p-peerstore@v0.1.4/pstoremem/addr_book.go:71 +0x18e