test: Add scaling n8n setup (multi-main) (#10644)

This commit is contained in:
Tomi Turtiainen
2024-09-09 09:07:32 +03:00
committed by GitHub
parent 6ea0856085
commit b18313f219
8 changed files with 266 additions and 8 deletions

View File

@@ -29,6 +29,7 @@ const paths = {
* @property {string} benchmarkTag
* @property {string} [runDir]
* @property {string} [k6ApiToken]
* @property {string} [n8nLicenseCert]
*
* @param {Config} config
*/
@@ -51,6 +52,7 @@ export async function runLocally(config) {
env: {
...process.env,
K6_API_TOKEN: config.k6ApiToken,
N8N_LICENSE_CERT: config.n8nLicenseCert,
},
})`npx ${runScriptPath} ${flags} ${n8nSetup}`;
}