@nsshunt/stsrunnerframework 1.0.117 → 1.0.119
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.
|
@@ -2395,9 +2395,10 @@ class STSWorkerManager {
|
|
|
2395
2395
|
__publicField(this, "GetWorkersSmall", async () => {
|
|
2396
2396
|
try {
|
|
2397
2397
|
await __privateGet(this, _SyncWorkerDataFromWorkers).call(this);
|
|
2398
|
-
const retVal =
|
|
2398
|
+
const retVal = [];
|
|
2399
|
+
retVal.push(__privateGet(this, _id));
|
|
2399
2400
|
for (const [, workerEx] of Object.entries(__privateGet(this, _workersEx))) {
|
|
2400
|
-
retVal
|
|
2401
|
+
retVal.push(this.CreateWorkerCopySmall(workerEx));
|
|
2401
2402
|
}
|
|
2402
2403
|
return retVal;
|
|
2403
2404
|
} catch (error) {
|
|
@@ -3232,7 +3233,10 @@ class STSWorkerManager {
|
|
|
3232
3233
|
const retVal = {
|
|
3233
3234
|
id: runnerEx.id,
|
|
3234
3235
|
iteration: runnerEx.iteration,
|
|
3235
|
-
state: runnerEx.state
|
|
3236
|
+
state: runnerEx.state,
|
|
3237
|
+
options: {
|
|
3238
|
+
plan: runnerEx.options.plan
|
|
3239
|
+
}
|
|
3236
3240
|
};
|
|
3237
3241
|
return retVal;
|
|
3238
3242
|
} catch (error) {
|
|
@@ -3260,13 +3264,16 @@ class STSWorkerManager {
|
|
|
3260
3264
|
}
|
|
3261
3265
|
CreateWorkerCopySmall(workerEx) {
|
|
3262
3266
|
try {
|
|
3263
|
-
const
|
|
3264
|
-
|
|
3265
|
-
|
|
3266
|
-
|
|
3267
|
-
|
|
3268
|
-
|
|
3269
|
-
|
|
3267
|
+
const workerCopy = [];
|
|
3268
|
+
workerCopy.push(workerEx.id);
|
|
3269
|
+
workerCopy.push(Object.entries(workerEx.runnersEx).length);
|
|
3270
|
+
for (const [, runnerEx] of Object.entries(workerEx.runnersEx)) {
|
|
3271
|
+
const runnerCopy = [];
|
|
3272
|
+
runnerCopy.push(runnerEx.id);
|
|
3273
|
+
runnerCopy.push(runnerEx.iteration);
|
|
3274
|
+
runnerCopy.push(runnerEx.state);
|
|
3275
|
+
runnerCopy.push(runnerEx.options.plan);
|
|
3276
|
+
workerCopy.push(runnerCopy);
|
|
3270
3277
|
}
|
|
3271
3278
|
return workerCopy;
|
|
3272
3279
|
} catch (error) {
|