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:
@ -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 {
|
||||
|
Reference in New Issue
Block a user