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>
This commit is contained in:
Balint Gabor
2018-09-13 11:42:19 +02:00
committed by GitHub
parent ff3a5d24d2
commit 3ff2f75636
55 changed files with 3193 additions and 1925 deletions

View File

@ -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 {