修改提示
This commit is contained in:
parent
702f09881b
commit
693b4c9ac3
@ -42,7 +42,7 @@ type Robot struct {
|
|||||||
sceneQueue *Queue[IScene] //场景队列
|
sceneQueue *Queue[IScene] //场景队列
|
||||||
config *storage.Config //配置
|
config *storage.Config //配置
|
||||||
resultCh chan *CallResult //请求结果通道
|
resultCh chan *CallResult //请求结果通道
|
||||||
sceneResultCh chan *CallResult //场景结果通道
|
// sceneResultCh chan *CallResult //场景结果通道
|
||||||
ReportMap map[int]map[string]*Statistics //测试报告 key1:场景序号 key2:协议
|
ReportMap map[int]map[string]*Statistics //测试报告 key1:场景序号 key2:协议
|
||||||
elipseTotal time.Duration
|
elipseTotal time.Duration
|
||||||
}
|
}
|
||||||
@ -52,8 +52,8 @@ func NewRobot(config *storage.Config) *Robot {
|
|||||||
data: make(map[string]interface{}),
|
data: make(map[string]interface{}),
|
||||||
sceneQueue: NewQueue[IScene](),
|
sceneQueue: NewQueue[IScene](),
|
||||||
config: config,
|
config: config,
|
||||||
resultCh: make(chan *CallResult, 100),
|
resultCh: make(chan *CallResult, 1000),
|
||||||
sceneResultCh: make(chan *CallResult, 50),
|
// sceneResultCh: make(chan *CallResult, 50),
|
||||||
ReportMap: make(map[int]map[string]*Statistics),
|
ReportMap: make(map[int]map[string]*Statistics),
|
||||||
}
|
}
|
||||||
robot.Store("sid", config.Global.SId)
|
robot.Store("sid", config.Global.SId)
|
||||||
|
@ -148,7 +148,7 @@ func (mw *MainWindow) showProgress(data interface{}, args ...interface{}) {
|
|||||||
}
|
}
|
||||||
mw.progress.SetValue(r)
|
mw.progress.SetValue(r)
|
||||||
if r >= 1 {
|
if r >= 1 {
|
||||||
mw.tipLabel.SetText("正在生成报表...")
|
mw.tipLabel.SetText("正在处理结果...")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user