Adjust the progress bars depending on the test type
This commit is contained in:
parent
4fc745172d
commit
a60f376846
2 changed files with 19 additions and 2 deletions
|
|
@ -80,9 +80,10 @@ func init() {
|
|||
return err
|
||||
}
|
||||
|
||||
for _, nt := range group.Nettests {
|
||||
for i, nt := range group.Nettests {
|
||||
log.Debugf("Running test %T", nt)
|
||||
ctl := nettests.NewController(nt, ctx, result)
|
||||
ctl.SetNettestIndex(i, len(group.Nettests))
|
||||
if err = nt.Run(ctl); err != nil {
|
||||
log.WithError(err).Errorf("Failed to run %s", group.Label)
|
||||
return err
|
||||
|
|
|
|||
Loading…
Reference in a new issue