mirror of
https://github.com/httprunner/httprunner.git
synced 2026-09-04 23:16:57 +08:00
refactor: simplify boomer runner
This commit is contained in:
@@ -85,7 +85,7 @@ func TestLocalRunner(t *testing.T) {
|
||||
}
|
||||
tasks := []*Task{taskA}
|
||||
runner := newLocalRunner(tasks, nil, 2, 2)
|
||||
go runner.run()
|
||||
go runner.start()
|
||||
time.Sleep(4 * time.Second)
|
||||
runner.close()
|
||||
runner.stop()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user