修改提示

This commit is contained in:
wh_zcy 2022-12-14 14:42:02 +08:00
parent 702f09881b
commit 693b4c9ac3
2 changed files with 20 additions and 20 deletions

View File

@ -42,7 +42,7 @@ type Robot struct {
sceneQueue *Queue[IScene] //场景队列
config *storage.Config //配置
resultCh chan *CallResult //请求结果通道
sceneResultCh chan *CallResult //场景结果通道
// sceneResultCh chan *CallResult //场景结果通道
ReportMap map[int]map[string]*Statistics //测试报告 key1:场景序号 key2:协议
elipseTotal time.Duration
}
@ -52,8 +52,8 @@ func NewRobot(config *storage.Config) *Robot {
data: make(map[string]interface{}),
sceneQueue: NewQueue[IScene](),
config: config,
resultCh: make(chan *CallResult, 100),
sceneResultCh: make(chan *CallResult, 50),
resultCh: make(chan *CallResult, 1000),
// sceneResultCh: make(chan *CallResult, 50),
ReportMap: make(map[int]map[string]*Statistics),
}
robot.Store("sid", config.Global.SId)

View File

@ -148,7 +148,7 @@ func (mw *MainWindow) showProgress(data interface{}, args ...interface{}) {
}
mw.progress.SetValue(r)
if r >= 1 {
mw.tipLabel.SetText("正在生成报表...")
mw.tipLabel.SetText("正在处理结果...")
}
}