0813
This commit is contained in:
@@ -71,6 +71,10 @@ func (w *Workflow) round() {
|
||||
fmt.Printf(" [测试] %s (%s) 开始压测...\n", ip, dev.MAC)
|
||||
rpt := stress.TestDevice(ip, w.cfg)
|
||||
stress.Results[ip] = rpt
|
||||
if stress.IsSSHFail(rpt) {
|
||||
fmt.Printf(" [测试] %s SSH 连接失败,跳过报告输出: %s\n", ip, rpt.Results[0].Error)
|
||||
continue
|
||||
}
|
||||
report.SaveAndPrintDeviceReport(&dev, rpt, cfg.Report.Path, cfg.Report.Print)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user