cmd/swarm, swarm: various test fixes (#17299)
* swarm/network/simulation: increase the sleep duration for TestRun * cmd/swarm, swarm: fix failing tests on mac * cmd/swarm: update TestCLISwarmFs skip comment * swarm/network/simulation: adjust disconnections on simulation close * swarm/network/simulation: call cleanups after net shutdown
This commit is contained in:
committed by
Péter Szilágyi
parent
6711f098d5
commit
a72ba5a55b
@ -68,7 +68,7 @@ func TestRun(t *testing.T) {
|
||||
defer cancel()
|
||||
|
||||
r := sim.Run(ctx, func(ctx context.Context, sim *Simulation) error {
|
||||
time.Sleep(100 * time.Millisecond)
|
||||
time.Sleep(time.Second)
|
||||
return nil
|
||||
})
|
||||
|
||||
|
Reference in New Issue
Block a user