mirror of
https://github.com/httprunner/httprunner.git
synced 2026-09-05 07:26:55 +08:00
fix: report metrics to prometheus
This commit is contained in:
@@ -927,14 +927,15 @@ func (r *workerRunner) start() {
|
||||
|
||||
close(r.doneChan)
|
||||
|
||||
// notify master that worker is stopped
|
||||
r.onStopped()
|
||||
// wait until all stats are reported successfully
|
||||
<-r.reportedChan
|
||||
// report test result
|
||||
r.reportTestResult()
|
||||
// output teardown
|
||||
r.outputOnStop()
|
||||
|
||||
// notify master that worker is stopped
|
||||
r.onStopped()
|
||||
}()
|
||||
|
||||
// start stats report
|
||||
|
||||
Reference in New Issue
Block a user