diff --git a/javascript/packages/cli/src/actions/test.ts b/javascript/packages/cli/src/actions/test.ts index 4fccfe786..ebe2edb14 100644 --- a/javascript/packages/cli/src/actions/test.ts +++ b/javascript/packages/cli/src/actions/test.ts @@ -25,6 +25,7 @@ export async function test( ) { const opts = { ...program.parent.opts(), ...cmdOpts }; const dir = opts.dir || ""; + const force = opts.force || false; // By default spawn pods/process in batches of 4, // since this shouldn't be a bottleneck in most of the cases, @@ -77,6 +78,7 @@ export async function test( getLogType(opts.logType), runningNetworkSpec, dir, + force, ); } diff --git a/javascript/packages/orchestrator/src/test-runner/index.ts b/javascript/packages/orchestrator/src/test-runner/index.ts index 185d86501..0fe4952bc 100644 --- a/javascript/packages/orchestrator/src/test-runner/index.ts +++ b/javascript/packages/orchestrator/src/test-runner/index.ts @@ -38,6 +38,7 @@ export async function run( logType: LogType = "table", runningNetworkSpecPath: string | undefined, dir: string | undefined, + force: boolean = false, ) { logType && setLogType(logType); let network: Network; @@ -95,6 +96,7 @@ export async function run( inCI, logType, dir, + force, }); } else { const runningNetworkSpec: any = require(runningNetworkSpecPath);