From cd475671630825aad9cd7938bd3695eafe115dac Mon Sep 17 00:00:00 2001 From: Tomi Turtiainen <10324676+tomi@users.noreply.github.com> Date: Thu, 12 Sep 2024 18:31:31 +0300 Subject: [PATCH] fix(benchmark): Fix benchmark license tenant Use the default value if it's not given instead of an empty string --- packages/@n8n/benchmark/scripts/run-for-n8n-setup.mjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/@n8n/benchmark/scripts/run-for-n8n-setup.mjs b/packages/@n8n/benchmark/scripts/run-for-n8n-setup.mjs index 8ecdeca632ae2..d3389f1e7b045 100755 --- a/packages/@n8n/benchmark/scripts/run-for-n8n-setup.mjs +++ b/packages/@n8n/benchmark/scripts/run-for-n8n-setup.mjs @@ -30,8 +30,8 @@ async function main() { argv.resultWebhookAuthHeader || process.env.BENCHMARK_RESULT_WEBHOOK_AUTH_HEADER || undefined; const baseRunDir = argv.runDir || process.env.RUN_DIR || '/n8n'; const n8nLicenseCert = argv.n8nLicenseCert || process.env.N8N_LICENSE_CERT || undefined; - const n8nLicenseActivationKey = process.env.N8N_LICENSE_ACTIVATION_KEY || ''; - const n8nLicenseTenantId = argv.n8nLicenseTenantId || process.env.N8N_LICENSE_TENANT_ID || ''; + const n8nLicenseActivationKey = process.env.N8N_LICENSE_ACTIVATION_KEY || undefined; + const n8nLicenseTenantId = argv.n8nLicenseTenantId || process.env.N8N_LICENSE_TENANT_ID || '1'; const envTag = argv.env || 'local'; const vus = argv.vus; const duration = argv.duration;