@nsshunt/stsrunnerframework 1.0.41 → 1.0.43
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.
|
@@ -22983,8 +22983,8 @@ class Rest01Client {
|
|
|
22983
22983
|
entname: `${STS_RF_RES_ENT_PREFIX}${runner.id}`,
|
|
22984
22984
|
data: JSON.stringify(runner.asyncRunnerContext)
|
|
22985
22985
|
};
|
|
22986
|
-
return await __privateGet(this, _rest01Client).
|
|
22987
|
-
defaultLogger.error(`WorkerInstance: #AddRunner.
|
|
22986
|
+
return await __privateGet(this, _rest01Client).PostEntity(resourceEntityTestRunnerMetadata, (error) => {
|
|
22987
|
+
defaultLogger.error(`WorkerInstance: #AddRunner.PostEntity.Error(): [${error}]`);
|
|
22988
22988
|
});
|
|
22989
22989
|
});
|
|
22990
22990
|
__publicField(this, "GetResources", async () => {
|
|
@@ -23536,6 +23536,7 @@ class STSWorkerManager {
|
|
|
23536
23536
|
};
|
|
23537
23537
|
__privateGet(this, _STSInstrumentController).LogEx(chalk$1.yellow(`pid: [${process.pid}] Creating new worker: [${stsWorkerEx.id}]`));
|
|
23538
23538
|
__privateGet(this, _debug2).call(this, `Adding worker: [${stsWorkerEx.id}]`);
|
|
23539
|
+
await __privateGet(this, _rest01Client3).AddResource(stsWorkerEx);
|
|
23539
23540
|
const {
|
|
23540
23541
|
port1,
|
|
23541
23542
|
// process message port
|
|
@@ -23596,7 +23597,6 @@ class STSWorkerManager {
|
|
|
23596
23597
|
}
|
|
23597
23598
|
__privateGet(this, _workersEx)[stsWorkerEx.id] = stsWorkerEx;
|
|
23598
23599
|
__privateGet(this, _debug2).call(this, `Added worker: [${stsWorkerEx.id}]`);
|
|
23599
|
-
__privateGet(this, _rest01Client3).AddResource(stsWorkerEx);
|
|
23600
23600
|
return stsWorkerEx;
|
|
23601
23601
|
});
|
|
23602
23602
|
__publicField(this, "AddRunnerToWorker", (stsWorkerEx, runnerOptions) => {
|