@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.
|
@@ -1921,9 +1921,11 @@ var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "acce
|
|
|
1921
1921
|
var _a;
|
|
1922
1922
|
try {
|
|
1923
1923
|
const runnerId = testRunnerTelemetryPayload.runner.id;
|
|
1924
|
-
__privateGet(this,
|
|
1925
|
-
|
|
1926
|
-
__privateGet(this,
|
|
1924
|
+
const currentIteration = __privateGet(this, _GetRunnerIterationById).call(this, runnerId);
|
|
1925
|
+
__privateGet(this, _debug).call(this, `${chalk.magenta(`runner: [${runnerId}]`)} ExecuteRunner(${currentIteration})`);
|
|
1926
|
+
await ((_a = __privateGet(this, _GetRunnerInstanceById).call(this, runnerId)) == null ? void 0 : _a.Execute(currentIteration));
|
|
1927
|
+
const newIteration = __privateGet(this, _IncRunnerIterationById).call(this, runnerId);
|
|
1928
|
+
__privateGet(this, _debug).call(this, `${chalk.magenta(` --> runner: [${runnerId}]`)} Next iteration number: [${newIteration}] for next Execute or Resume.`);
|
|
1927
1929
|
await __privateGet(this, _UpdateRunnerStateById).call(this, runnerId, IRunnerState.paused);
|
|
1928
1930
|
} catch (error) {
|
|
1929
1931
|
console.error(`#ExecuteRunner(): Error: [${error}]`);
|
|
@@ -2489,6 +2491,11 @@ var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "acce
|
|
|
2489
2491
|
eventDate: /* @__PURE__ */ new Date(),
|
|
2490
2492
|
runner: { ...runner }
|
|
2491
2493
|
});
|
|
2494
|
+
__privateGet(this, _debug2).call(this, `STSWorkerManager:#RunnerStateChange(): Worker: [${workerEx.id}] Runner: [${runner.id}]`);
|
|
2495
|
+
__privateGet(this, _debug2).call(this, `STSWorkerManager:#RunnerStateChange(): --> Runner iteration (payload): [${runner.iteration}]`);
|
|
2496
|
+
__privateGet(this, _debug2).call(this, `STSWorkerManager:#RunnerStateChange(): --> Runner instrumentData.requestCount (payload): [${runner.instrumentData.requestCount}]`);
|
|
2497
|
+
__privateGet(this, _debug2).call(this, `STSWorkerManager:#RunnerStateChange(): --> Runner iteration (in-memory graph): [${runnerEx.iteration}]`);
|
|
2498
|
+
__privateGet(this, _debug2).call(this, `STSWorkerManager:#RunnerStateChange(): --> Runner instrumentData.requestCount (payload): [${runnerEx.instrumentData.requestCount}]`);
|
|
2492
2499
|
__privateGet(this, _EmitRunnerEvent).call(this, "StateChange", workerEx, runner.id);
|
|
2493
2500
|
}
|
|
2494
2501
|
});
|