@nsshunt/stsrunnerframework 1.0.86 → 1.0.87

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.
@@ -1919,9 +1919,11 @@ class WorkerInstance {
1919
1919
  var _a;
1920
1920
  try {
1921
1921
  const runnerId = testRunnerTelemetryPayload.runner.id;
1922
- __privateGet(this, _debug).call(this, `${chalk.magenta(`runner: [${runnerId}]`)} ExecuteRunner`);
1923
- await ((_a = __privateGet(this, _GetRunnerInstanceById).call(this, runnerId)) == null ? void 0 : _a.Execute(__privateGet(this, _GetRunnerIterationById).call(this, runnerId)));
1924
- __privateGet(this, _IncRunnerIterationById).call(this, runnerId);
1922
+ const currentIteration = __privateGet(this, _GetRunnerIterationById).call(this, runnerId);
1923
+ __privateGet(this, _debug).call(this, `${chalk.magenta(`runner: [${runnerId}]`)} ExecuteRunner(${currentIteration})`);
1924
+ await ((_a = __privateGet(this, _GetRunnerInstanceById).call(this, runnerId)) == null ? void 0 : _a.Execute(currentIteration));
1925
+ const newIteration = __privateGet(this, _IncRunnerIterationById).call(this, runnerId);
1926
+ __privateGet(this, _debug).call(this, `${chalk.magenta(` --> runner: [${runnerId}]`)} Next iteration number: [${newIteration}] for next Execute or Resume.`);
1925
1927
  await __privateGet(this, _UpdateRunnerStateById).call(this, runnerId, IRunnerState.paused);
1926
1928
  } catch (error) {
1927
1929
  console.error(`#ExecuteRunner(): Error: [${error}]`);