mirror of
https://github.com/httprunner/httprunner.git
synced 2026-06-05 15:59:33 +08:00
avoid data race.
This commit is contained in:
@@ -108,8 +108,7 @@ func (b *HRPBoomer) convertBoomerTask(testcase *TestCase) *boomer.Task {
|
||||
}
|
||||
}
|
||||
|
||||
config := runner.TestCase.Config
|
||||
if err := runner.parseConfig(config); err != nil {
|
||||
if err := runner.parseConfig(caseConfig); err != nil {
|
||||
log.Error().Err(err).Msg("parse config failed")
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user