[storj-sim] storage node must wait for satellite start (#1348)
This commit is contained in:
parent
6f3ef3f683
commit
3512952656
@ -277,8 +277,11 @@ func newNetwork(flags *Flags) (*Processes, error) {
|
||||
Address: net.JoinHostPort(host, strconv.Itoa(storageNodePort+i)),
|
||||
})
|
||||
|
||||
// storage node must wait for bootstrap to start
|
||||
// storage node must wait for bootstrap and satellites to start
|
||||
process.WaitForStart(bootstrap)
|
||||
for _, satellite := range satellites {
|
||||
process.WaitForStart(satellite)
|
||||
}
|
||||
|
||||
process.Arguments = withCommon(Arguments{
|
||||
"setup": {
|
||||
|
Loading…
Reference in New Issue
Block a user