[storj-sim] storage node must wait for satellite start (#1348)

This commit is contained in:
Michal Niewrzal 2019-02-22 15:35:51 +01:00 committed by GitHub
parent 6f3ef3f683
commit 3512952656
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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