Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
Geth-Modification
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张蕾
Geth-Modification
Commits
15b9b39e
Unverified
Commit
15b9b39e
authored
Jan 19, 2019
by
Viktor Trón
Committed by
GitHub
Jan 19, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
swarm/network: unskip tests previously skipped due to suggestPeer issues (#18477)
parent
56095779
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
5 deletions
+0
-5
kademlia_test.go
swarm/network/simulation/kademlia_test.go
+0
-2
overlay_test.go
swarm/network/simulations/overlay_test.go
+0
-1
visualized_snapshot_sync_sim_test.go
swarm/network/stream/visualized_snapshot_sync_sim_test.go
+0
-2
No files found.
swarm/network/simulation/kademlia_test.go
View file @
15b9b39e
...
@@ -28,8 +28,6 @@ import (
...
@@ -28,8 +28,6 @@ import (
)
)
func
TestWaitTillHealthy
(
t
*
testing
.
T
)
{
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
{
sim
:=
New
(
map
[
string
]
ServiceFunc
{
"bzz"
:
func
(
ctx
*
adapters
.
ServiceContext
,
b
*
sync
.
Map
)
(
node
.
Service
,
func
(),
error
)
{
"bzz"
:
func
(
ctx
*
adapters
.
ServiceContext
,
b
*
sync
.
Map
)
(
node
.
Service
,
func
(),
error
)
{
addr
:=
network
.
NewAddr
(
ctx
.
Config
.
Node
())
addr
:=
network
.
NewAddr
(
ctx
.
Config
.
Node
())
...
...
swarm/network/simulations/overlay_test.go
View file @
15b9b39e
...
@@ -43,7 +43,6 @@ var (
...
@@ -43,7 +43,6 @@ var (
//It also provides a documentation on the steps needed by frontends
//It also provides a documentation on the steps needed by frontends
//to use the simulations
//to use the simulations
func
TestOverlaySim
(
t
*
testing
.
T
)
{
func
TestOverlaySim
(
t
*
testing
.
T
)
{
t
.
Skip
(
"Test is flaky, see: https://github.com/ethersphere/go-ethereum/issues/592"
)
//start the simulation
//start the simulation
log
.
Info
(
"Start simulation backend"
)
log
.
Info
(
"Start simulation backend"
)
//get the simulation networ; needed to subscribe for up events
//get the simulation networ; needed to subscribe for up events
...
...
swarm/network/stream/visualized_snapshot_sync_sim_test.go
View file @
15b9b39e
...
@@ -154,8 +154,6 @@ func sendSimTerminatedEvent(sim *simulation.Simulation) {
...
@@ -154,8 +154,6 @@ func sendSimTerminatedEvent(sim *simulation.Simulation) {
//It also sends some custom events so that the frontend
//It also sends some custom events so that the frontend
//can visualize messages like SendOfferedMsg, WantedHashesMsg, DeliveryMsg
//can visualize messages like SendOfferedMsg, WantedHashesMsg, DeliveryMsg
func
TestSnapshotSyncWithServer
(
t
*
testing
.
T
)
{
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
//define a wrapper object to be able to pass around data
wrapper
:=
&
netWrapper
{}
wrapper
:=
&
netWrapper
{}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment