mirror of
https://github.com/httprunner/httprunner.git
synced 2026-08-21 16:22:17 +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")
|
log.Error().Err(err).Msg("copy config data failed")
|
||||||
}
|
}
|
||||||
if it := cfg.ParametersSetting.Iterator; it.HasNext() {
|
if it := cfg.ParametersSetting.Iterator; it.HasNext() {
|
||||||
caseConfig.Variables = mergeVariables(it.Next(), cfg.Variables)
|
caseConfig.Variables = mergeVariables(it.Next(), caseConfig.Variables)
|
||||||
}
|
}
|
||||||
startTime := time.Now()
|
startTime := time.Now()
|
||||||
for index, step := range testcase.TestSteps {
|
for index, step := range testcase.TestSteps {
|
||||||
|
|||||||
Reference in New Issue
Block a user