Skip to content

Commit

Permalink
swarm/network: Linting
Browse files Browse the repository at this point in the history
  • Loading branch information
nolash committed Nov 23, 2018
1 parent 6ad4668 commit 12f1e68
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion swarm/network/kademlia.go
Original file line number Diff line number Diff line change
Expand Up @@ -677,7 +677,7 @@ func NewPeerPotMap(kadMinProxSize int, addrs [][]byte) map[string]*PeerPot {
depthTraversed = true
}

// expected po in next iteration if there are no empty bins inbetween
// expected po in next iteration if there are no empty bins in between
prev = po - 1
return true
})
Expand Down
2 changes: 1 addition & 1 deletion swarm/network/kademlia_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ func Register(k *Kademlia, regs ...string) {

// tests the validity of neighborhood depth calculations
//
// in particular, it tests that if there are one or more consequtive
// in particular, it tests that if there are one or more consecutive
// empty bins above the farthest "nearest neighbor-peer" then
// the depth should be set at the farthest of those empty bins
//
Expand Down
2 changes: 0 additions & 2 deletions swarm/network/stream/snapshot_retrieval_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,6 @@ simulation's `action` function.
The snapshot should have 'streamer' in its service list.
*/
func runFileRetrievalTest(nodeCount int) error {
t.Skip("temporarily disabled as simulations.WaitTillHealthy cannot be trusted")
sim := simulation.New(retrievalSimServiceMap)
defer sim.Close()

Expand Down Expand Up @@ -248,7 +247,6 @@ The snapshot should have 'streamer' in its service list.
*/
func runRetrievalTest(chunkCount int, nodeCount int) error {

t.Skip("temporarily disabled as simulations.WaitTillHealthy cannot be trusted")
sim := simulation.New(retrievalSimServiceMap)
defer sim.Close()

Expand Down

0 comments on commit 12f1e68

Please sign in to comment.