Commit e2ccbaf
committed
test(background): fix locust quitting handler signature so job accounting prints
The events.quitting listener took _environment as a required positional
arg, but locust passes environment as a keyword, so the handler raised
TypeError at shutdown and the submitted/completed summary never printed
(locust exited 2). Accept the event kwargs via **_kwargs.1 parent 5b95fcc commit e2ccbaf
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
151 | | - | |
| 151 | + | |
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
| |||
0 commit comments