• Janoš Guljaš's avatar
    swarm/network: fix data races in TestInitialPeersMsg test (#19490) · 3873a731
    Janoš Guljaš authored
    * swarm/network: fix data races in TestInitialPeersMsg test
    
    * swarm/network: add Kademlia.Saturation method with lock
    
    * swarm/network: add Hive.Peer method to safely retrieve a bzz peer
    
    * swarm/network: remove duplicate comment
    
    * p2p/testing: prevent goroutine leak in ProtocolTester
    
    * swarm/network: fix data race in newBzzBaseTesterWithAddrs
    
    * swarm/network: fix goroutone leaks in testInitialPeersMsg
    
    * swarm/network: raise number of peer check attempts in testInitialPeersMsg
    
    * swarm/network: use Hive.Peer in Hive.PeerInfo function
    
    * swarm/network: reduce the scope of mutex lock in newBzzBaseTesterWithAddrs
    
    * swarm/storage: disable TestCleanIndex with race detector
    3873a731
protocoltester.go 7.28 KB