Keep track of the measurement state in the database

This commit is contained in:
Arturo Filastò 2018-03-19 16:23:30 +01:00
commit e2499dc4b0
3 changed files with 176 additions and 23 deletions

View file

@ -43,7 +43,7 @@ func init() {
fmt.Sprintf("msmt-%s-%T.jsonl", nt,
time.Now().UTC().Format(time.RFC3339Nano)))
ctl := nettests.NewController(ctx, result, msmtPath)
ctl := nettests.NewController(nt, ctx, result, msmtPath)
if err := nt.Run(ctl); err != nil {
log.WithError(err).Errorf("Failed to run %s", group.Label)
return err