fix(nettests/nettests.go): make sure we emit progress (#148)
See https://github.com/ooni/probe/issues/1238
This commit is contained in:
parent
4c65147009
commit
407ce5d624
|
@ -127,6 +127,9 @@ func (c *Controller) Run(builder *engine.ExperimentBuilder, inputs []string) err
|
|||
}
|
||||
c.msmts[idx64] = msmt
|
||||
|
||||
if input != "" {
|
||||
c.OnProgress(0, fmt.Sprintf("processing input: %s", input))
|
||||
}
|
||||
measurement, err := exp.Measure(input)
|
||||
if err != nil {
|
||||
log.WithError(err).Debug(color.RedString("failure.measurement"))
|
||||
|
|
Loading…
Reference in New Issue
Block a user