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(cli): remove worker error message when expect errors in workers #2808

Closed bernardobridge closed 5 months ago

bernardobridge commented 5 months ago

Description

This PR removes the error messages that show up when running expect in distributed tests (Worker exited with an error, worker ID = <id>) by giving a specific exit code to expect that can be caught in distributed tests.

This may get further improvements in the future, but right now it's the easiest way to avoid the confusing error message.

Pre-merge checklist