artilleryio / artillery

The complete load testing platform. Everything you need for production-grade load tests. Serverless & distributed. Load test with Playwright. Load test HTTP APIs, GraphQL, WebSocket, and more. Use any Node.js module.
https://www.artillery.io
Mozilla Public License 2.0
8.07k stars 512 forks source link

fix: handle SIGTERM correctly on Fargate #3190

Closed hassy closed 5 months ago

hassy commented 5 months ago

Description

Fix handling of SIGTERM:

Pre-merge checklist

This is for use by the Artillery team. Please leave this in if you're contributing to Artillery.

hassy commented 5 months ago

Existing E2E tests passing on Fargate. Adding an E2E test for the error condition needs an easy way to get the task ARNs for a running test, so leaving for later. Tested by stopping a task in a running test manually and everything looks good.