aboutsummaryrefslogtreecommitdiffstats
path: root/swarm/network_test.go
diff options
context:
space:
mode:
authorBalint Gabor <balint.g@gmail.com>2018-09-13 17:42:19 +0800
committerGitHub <noreply@github.com>2018-09-13 17:42:19 +0800
commit3ff2f756368f2d8ec0d1d9d25f6ba9cdabd7383e (patch)
tree62a2896b3b824449595272f0b92dda877ba1c58d /swarm/network_test.go
parentff3a5d24d2e40fd66f7813173e9cfc31144f3c53 (diff)
downloaddexon-3ff2f756368f2d8ec0d1d9d25f6ba9cdabd7383e.tar.gz
dexon-3ff2f756368f2d8ec0d1d9d25f6ba9cdabd7383e.tar.zst
dexon-3ff2f756368f2d8ec0d1d9d25f6ba9cdabd7383e.zip
swarm: Chunk refactor (#17659)
Co-authored-by: Janos Guljas <janos@resenje.org> Co-authored-by: Balint Gabor <balint.g@gmail.com> Co-authored-by: Anton Evangelatov <anton.evangelatov@gmail.com> Co-authored-by: Viktor TrĂ³n <viktor.tron@gmail.com>
Diffstat (limited to 'swarm/network_test.go')
-rw-r--r--swarm/network_test.go9
1 files changed, 5 insertions, 4 deletions
diff --git a/swarm/network_test.go b/swarm/network_test.go
index 9bc6143d8..86a904339 100644
--- a/swarm/network_test.go
+++ b/swarm/network_test.go
@@ -87,10 +87,10 @@ func TestSwarmNetwork(t *testing.T) {
},
},
{
- name: "100_nodes",
+ name: "50_nodes",
steps: []testSwarmNetworkStep{
{
- nodeCount: 100,
+ nodeCount: 50,
},
},
options: &testSwarmNetworkOptions{
@@ -99,10 +99,10 @@ func TestSwarmNetwork(t *testing.T) {
disabled: !*longrunning,
},
{
- name: "100_nodes_skip_check",
+ name: "50_nodes_skip_check",
steps: []testSwarmNetworkStep{
{
- nodeCount: 100,
+ nodeCount: 50,
},
},
options: &testSwarmNetworkOptions{
@@ -287,6 +287,7 @@ func testSwarmNetwork(t *testing.T, o *testSwarmNetworkOptions, steps ...testSwa
config.Init(privkey)
config.DeliverySkipCheck = o.SkipCheck
+ config.Port = ""
swarm, err := NewSwarm(config, nil)
if err != nil {