mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 18:32:23 +00:00
swarm/network: Skip discovery tests (dependent on SuggestPeer)
This commit is contained in:
parent
bdcca4cdf4
commit
f5b6fd940e
1 changed files with 2 additions and 0 deletions
|
|
@ -157,6 +157,7 @@ func testDiscoverySimulationSimAdapter(t *testing.T, nodes, conns int) {
|
||||||
}
|
}
|
||||||
|
|
||||||
func testDiscoverySimulation(t *testing.T, nodes, conns int, adapter adapters.NodeAdapter) {
|
func testDiscoverySimulation(t *testing.T, nodes, conns int, adapter adapters.NodeAdapter) {
|
||||||
|
t.Skip("discovery tests depend on suggestpeer, which is unreliable after kademlia depth change.")
|
||||||
startedAt := time.Now()
|
startedAt := time.Now()
|
||||||
result, err := discoverySimulation(nodes, conns, adapter)
|
result, err := discoverySimulation(nodes, conns, adapter)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
@ -184,6 +185,7 @@ func testDiscoverySimulation(t *testing.T, nodes, conns int, adapter adapters.No
|
||||||
}
|
}
|
||||||
|
|
||||||
func testDiscoveryPersistenceSimulation(t *testing.T, nodes, conns int, adapter adapters.NodeAdapter) map[int][]byte {
|
func testDiscoveryPersistenceSimulation(t *testing.T, nodes, conns int, adapter adapters.NodeAdapter) map[int][]byte {
|
||||||
|
t.Skip("discovery tests depend on suggestpeer, which is unreliable after kademlia depth change.")
|
||||||
persistenceEnabled = true
|
persistenceEnabled = true
|
||||||
discoveryEnabled = true
|
discoveryEnabled = true
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue