mirror of
https://github.com/typesense/typesense.git
synced 2025-05-16 03:12:32 +08:00
fix(k6): remove check for status and vus_max after benchmarks
This commit is contained in:
parent
ea84f56d94
commit
a94a85193c
@ -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}%`);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user