Stop k6 run --out cloud
test when it gets aborted from the web app
#1880
Labels
Milestone
k6 run --out cloud
test when it gets aborted from the web app
#1880
This should be relatively easy now that #1869 is done. We might give outputs another optional interface, like
WithThresholds
andWithRunStatusUpdates
, basically the missingTODO
in the middle here 😅 https://github.com/loadimpact/k6/blob/a5d884155825b0b21406b5b25a508dc229830b49/output/types.go#L76-L90Then the engine can pass every output that supports it (probably only the
cloud
for now) a reference toengine.Stop()
: https://github.com/loadimpact/k6/blob/a5d884155825b0b21406b5b25a508dc229830b49/core/engine.go#L358-L363This issue overrides #1160
The text was updated successfully, but these errors were encountered: