handleSummary called before all metrics are crunched #1887
Labels
bug
evaluation needed
proposal needs to be validated or tested before fully implementing it in k6
high prio
Milestone
A check I added on Friday (#1885) for xk6 JS and output extensions seems to have caught a problem with the end-of-test summary 😕 From https://github.com/loadimpact/k6/runs/2041232632:
The test script emits the
__ITER
value for 5 iterations. It seems like the output received and processed all metrics (0+1+2+3+4==10
), but the datahandleSummary()
got was missing its last value... 😕I think I haven't broken this with #1869, but we should investigate, since it likely means we have another data race on our hands... 😞
The text was updated successfully, but these errors were encountered: