Skip to content

Commit

Permalink
swarm/network: unskip tests previously skipped due to suggestPeer iss…
Browse files Browse the repository at this point in the history
  • Loading branch information
zelig authored Jan 19, 2019
1 parent 5609577 commit 15b9b39
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 5 deletions.
2 changes: 0 additions & 2 deletions swarm/network/simulation/kademlia_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ import (
)

func TestWaitTillHealthy(t *testing.T) {
t.Skip("WaitTillHealthy depends on discovery, which relies on a reliable SuggestPeer, which is not reliable")

sim := New(map[string]ServiceFunc{
"bzz": func(ctx *adapters.ServiceContext, b *sync.Map) (node.Service, func(), error) {
addr := network.NewAddr(ctx.Config.Node())
Expand Down
1 change: 0 additions & 1 deletion swarm/network/simulations/overlay_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ var (
//It also provides a documentation on the steps needed by frontends
//to use the simulations
func TestOverlaySim(t *testing.T) {
t.Skip("Test is flaky, see: https://github.com/ethersphere/go-ethereum/issues/592")
//start the simulation
log.Info("Start simulation backend")
//get the simulation networ; needed to subscribe for up events
Expand Down
2 changes: 0 additions & 2 deletions swarm/network/stream/visualized_snapshot_sync_sim_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,6 @@ func sendSimTerminatedEvent(sim *simulation.Simulation) {
//It also sends some custom events so that the frontend
//can visualize messages like SendOfferedMsg, WantedHashesMsg, DeliveryMsg
func TestSnapshotSyncWithServer(t *testing.T) {
//t.Skip("temporarily disabled as simulations.WaitTillHealthy cannot be trusted")

//define a wrapper object to be able to pass around data
wrapper := &netWrapper{}

Expand Down

0 comments on commit 15b9b39

Please sign in to comment.