@nsshunt/stsrunnerframework 1.0.7 → 1.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1617,7 +1617,8 @@ class WorkerInstance {
1617
1617
  const { runner } = testRunnerTelemetryPayload;
1618
1618
  __privateGet(this, _debug).call(this, `${chalk$1.magenta(`runner: [${runner.id}]`)} TerminateRunner`);
1619
1619
  __privateGet(this, _runners)[runner.id].terminate = true;
1620
- await __privateGet(this, _runners)[runner.id].runnerInstance.TerminateRunner();
1620
+ const retVal = await __privateGet(this, _runners)[runner.id].runnerInstance.TerminateRunner();
1621
+ __privateGet(this, _debug).call(this, `${chalk$1.magenta(`runner: [${runner.id}]`)} TerminateRunner Result = [${retVal}]`);
1621
1622
  await Sleep(0);
1622
1623
  });
1623
1624
  __privateAdd(this, _PauseRunner, async (testRunnerTelemetryPayload) => {
@@ -2116,7 +2117,6 @@ class STSWorkerManager {
2116
2117
  console.log(chalk$1.magenta(`Ending publish for runner: [${JSON.stringify(runnerEx.asyncRunnerContext)}]`));
2117
2118
  await runnerEx.publishInstrumentController.EndPublish();
2118
2119
  await Sleep(2e3);
2119
- console.log(chalk$1.magenta(`Ending publish for runner: [${JSON.stringify(runnerEx.asyncRunnerContext)}]`));
2120
2120
  delete workerEx.runnersEx[runnerEx.id];
2121
2121
  console.log(chalk$1.magenta(`Completed Terminate for runner: [${JSON.stringify(runnerEx.asyncRunnerContext)}]`));
2122
2122
  resolve(true);