From a94a85193c13d911e9aaf6add804d0c8916d0777 Mon Sep 17 00:00:00 2001 From: Fanis Tharropoulos Date: Fri, 17 Jan 2025 14:36:35 +0200 Subject: [PATCH] fix(k6): remove check for status and vus_max after benchmarks --- benchmark/src/services/k6.ts | 9 --------- 1 file changed, 9 deletions(-) diff --git a/benchmark/src/services/k6.ts b/benchmark/src/services/k6.ts index 60f0ae9d..19a9bc1d 100644 --- a/benchmark/src/services/k6.ts +++ b/benchmark/src/services/k6.ts @@ -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}%`);