aboutsummaryrefslogtreecommitdiffstats
path: root/swarm
diff options
context:
space:
mode:
authorViktor TrĂ³n <viktor.tron@gmail.com>2019-01-19 15:12:57 +0800
committerGitHub <noreply@github.com>2019-01-19 15:12:57 +0800
commit15b9b39e6c38801dd74e3b7e779018f20f510128 (patch)
treea05a6b1bed99e20e6c6a69ce6061b50d97d782e0 /swarm
parent560957799a089042e471320d179ef2e96caf4f8d (diff)
downloadgo-tangerine-15b9b39e6c38801dd74e3b7e779018f20f510128.tar
go-tangerine-15b9b39e6c38801dd74e3b7e779018f20f510128.tar.gz
go-tangerine-15b9b39e6c38801dd74e3b7e779018f20f510128.tar.bz2
go-tangerine-15b9b39e6c38801dd74e3b7e779018f20f510128.tar.lz
go-tangerine-15b9b39e6c38801dd74e3b7e779018f20f510128.tar.xz
go-tangerine-15b9b39e6c38801dd74e3b7e779018f20f510128.tar.zst
go-tangerine-15b9b39e6c38801dd74e3b7e779018f20f510128.zip
swarm/network: unskip tests previously skipped due to suggestPeer issues (#18477)
Diffstat (limited to 'swarm')
-rw-r--r--swarm/network/simulation/kademlia_test.go2
-rw-r--r--swarm/network/simulations/overlay_test.go1
-rw-r--r--swarm/network/stream/visualized_snapshot_sync_sim_test.go2
3 files changed, 0 insertions, 5 deletions
diff --git a/swarm/network/simulation/kademlia_test.go b/swarm/network/simulation/kademlia_test.go
index 36b244d3d..bbc93ee8c 100644
--- a/swarm/network/simulation/kademlia_test.go
+++ b/swarm/network/simulation/kademlia_test.go
@@ -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())
diff --git a/swarm/network/simulations/overlay_test.go b/swarm/network/simulations/overlay_test.go
index 6ccdb5ce2..e56b64650 100644
--- a/swarm/network/simulations/overlay_test.go
+++ b/swarm/network/simulations/overlay_test.go
@@ -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
diff --git a/swarm/network/stream/visualized_snapshot_sync_sim_test.go b/swarm/network/stream/visualized_snapshot_sync_sim_test.go
index 18b4c8fb0..3b7d0d743 100644
--- a/swarm/network/stream/visualized_snapshot_sync_sim_test.go
+++ b/swarm/network/stream/visualized_snapshot_sync_sim_test.go
@@ -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{}