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
4e87b444
Commit
4e87b444
authored
Feb 24, 2019
by
Matthew Halpern
Committed by
Viktor Trón
Feb 24, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
swarm/pss: remove unused function (#19100)
parent
90b6cdaa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
16 deletions
+0
-16
pss_test.go
swarm/pss/pss_test.go
+0
-16
No files found.
swarm/pss/pss_test.go
View file @
4e87b444
...
...
@@ -38,8 +38,6 @@ import (
"github.com/ethereum/go-ethereum/common/hexutil"
"github.com/ethereum/go-ethereum/crypto"
"github.com/ethereum/go-ethereum/log"
"github.com/ethereum/go-ethereum/metrics"
"github.com/ethereum/go-ethereum/metrics/influxdb"
"github.com/ethereum/go-ethereum/node"
"github.com/ethereum/go-ethereum/p2p"
"github.com/ethereum/go-ethereum/p2p/enode"
...
...
@@ -1369,8 +1367,6 @@ func TestNetwork(t *testing.T) {
// nodes/msgs/addrbytes/adaptertype
// if adaptertype is exec uses execadapter, simadapter otherwise
func
TestNetwork2000
(
t
*
testing
.
T
)
{
//enableMetrics()
if
!*
longrunning
{
t
.
Skip
(
"run with --longrunning flag to run extensive network tests"
)
}
...
...
@@ -1381,8 +1377,6 @@ func TestNetwork2000(t *testing.T) {
}
func
TestNetwork5000
(
t
*
testing
.
T
)
{
//enableMetrics()
if
!*
longrunning
{
t
.
Skip
(
"run with --longrunning flag to run extensive network tests"
)
}
...
...
@@ -1393,8 +1387,6 @@ func TestNetwork5000(t *testing.T) {
}
func
TestNetwork10000
(
t
*
testing
.
T
)
{
//enableMetrics()
if
!*
longrunning
{
t
.
Skip
(
"run with --longrunning flag to run extensive network tests"
)
}
...
...
@@ -2098,11 +2090,3 @@ func (apitest *APITest) SetSymKeys(pubkeyid string, recvsymkey []byte, sendsymke
func
(
apitest
*
APITest
)
Clean
()
(
int
,
error
)
{
return
apitest
.
Pss
.
cleanKeys
(),
nil
}
// enableMetrics is starting InfluxDB reporter so that we collect stats when running tests locally
func
enableMetrics
()
{
metrics
.
Enabled
=
true
go
influxdb
.
InfluxDBWithTags
(
metrics
.
DefaultRegistry
,
1
*
time
.
Second
,
"http://localhost:8086"
,
"metrics"
,
"admin"
,
"admin"
,
"swarm."
,
map
[
string
]
string
{
"host"
:
"test"
,
})
}
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