good morning!!!!
Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
B
bor
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Harbor Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
github
maticnetwork
bor
Commits
4e87b444
Commit
4e87b444
authored
6 years ago
by
Matthew Halpern
Committed by
Viktor Trón
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
swarm/pss: remove unused function (#19100)
parent
90b6cdaa
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
swarm/pss/pss_test.go
+0
-16
0 additions, 16 deletions
swarm/pss/pss_test.go
with
0 additions
and
16 deletions
swarm/pss/pss_test.go
+
0
−
16
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"
,
})
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment