fix(k6): remove check for status and vus_max after benchmarks

This commit is contained in:
Fanis Tharropoulos 2025-01-17 14:36:35 +02:00
parent ea84f56d94
commit a94a85193c
No known key found for this signature in database

@ -131,15 +131,6 @@ export class K6Benchmarks {
const checkMatch = /([0-9.]+)%/.exec(checksLine);
const checksPassRate = parseFloat(checkMatch?.[1] ?? "0");
const hasCompleteOutput = result.out.includes("status") && result.out.includes("vus_max");
if (!hasCompleteOutput) {
logger.warn("Incomplete k6 output detected");
return errAsync({
message: "Incomplete k6 output - unable to determine test results",
});
}
this.config.spinner.stop();
logger.info(`Checks pass rate: ${checksPassRate}%`);