mirror of
https://github.com/httprunner/httprunner.git
synced 2026-07-09 06:23:52 +08:00
fix: data racing by parsing config
This commit is contained in:
@@ -81,6 +81,7 @@ func TestRunRequestRun(t *testing.T) {
|
||||
}
|
||||
runner := NewRunner(t).SetRequestsLogOn()
|
||||
sessionRunner := runner.NewSessionRunner(testcase)
|
||||
sessionRunner.parseConfig(nil)
|
||||
if _, err := stepGET.Run(sessionRunner); err != nil {
|
||||
t.Fatalf("stepGET.Run() error: %v", err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user