mirror of
https://github.com/httprunner/httprunner.git
synced 2026-08-28 03:30:01 +08:00
refactor: CaseRunner, parseConfig
This commit is contained in:
@@ -69,7 +69,7 @@ func (s *StepTestCaseWithOptionalArgs) Run(r *SessionRunner) (stepResult *StepRe
|
||||
stepTestCase := s.step.TestCase.(*TestCase)
|
||||
|
||||
// copy testcase to avoid data racing
|
||||
copiedTestCase := &TestCase{}
|
||||
copiedTestCase := TestCase{}
|
||||
if err := copier.Copy(copiedTestCase, stepTestCase); err != nil {
|
||||
log.Error().Err(err).Msg("copy step testcase failed")
|
||||
return stepResult, err
|
||||
|
||||
Reference in New Issue
Block a user