mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-13 06:29:44 +08:00
fix: avoid data racing.
This commit is contained in:
@@ -77,7 +77,7 @@ func (b *hrpBoomer) convertBoomerTask(testcase *TestCase) *boomer.Task {
|
||||
log.Error().Err(err).Msg("copy config data failed")
|
||||
}
|
||||
if it := cfg.ParametersSetting.Iterator; it.HasNext() {
|
||||
caseConfig.Variables = mergeVariables(it.Next(), cfg.Variables)
|
||||
caseConfig.Variables = mergeVariables(it.Next(), caseConfig.Variables)
|
||||
}
|
||||
startTime := time.Now()
|
||||
for index, step := range testcase.TestSteps {
|
||||
|
||||
Reference in New Issue
Block a user