@nsshunt/stsrunnerframework 1.0.86 → 1.0.88

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}]`);
@@ -2487,6 +2489,11 @@ class STSWorkerManager {
2487
2489
  eventDate: /* @__PURE__ */ new Date(),
2488
2490
  runner: { ...runner }
2489
2491
  });
2492
+ __privateGet(this, _debug2).call(this, `STSWorkerManager:#RunnerStateChange(): Worker: [${workerEx.id}] Runner: [${runner.id}]`);
2493
+ __privateGet(this, _debug2).call(this, `STSWorkerManager:#RunnerStateChange(): --> Runner iteration (payload): [${runner.iteration}]`);
2494
+ __privateGet(this, _debug2).call(this, `STSWorkerManager:#RunnerStateChange(): --> Runner instrumentData.requestCount (payload): [${runner.instrumentData.requestCount}]`);
2495
+ __privateGet(this, _debug2).call(this, `STSWorkerManager:#RunnerStateChange(): --> Runner iteration (in-memory graph): [${runnerEx.iteration}]`);
2496
+ __privateGet(this, _debug2).call(this, `STSWorkerManager:#RunnerStateChange(): --> Runner instrumentData.requestCount (payload): [${runnerEx.instrumentData.requestCount}]`);
2490
2497
  __privateGet(this, _EmitRunnerEvent).call(this, "StateChange", workerEx, runner.id);
2491
2498
  }
2492
2499
  });