@nsshunt/ststestrunner 1.0.47 → 1.0.49

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.
@@ -22210,7 +22210,6 @@ ${" ".repeat(r2.length - i2.length)}^`), o2))];
22210
22210
  IEventRequestCommand2["UpdateRunners"] = "UpdateRunners";
22211
22211
  return IEventRequestCommand2;
22212
22212
  })(IEventRequestCommand || {});
22213
- const https = {};
22214
22213
  var u8 = Uint8Array, u16 = Uint16Array, i32 = Int32Array;
22215
22214
  var fleb = new u8([
22216
22215
  0,
@@ -22844,14 +22843,14 @@ ${" ".repeat(r2.length - i2.length)}^`), o2))];
22844
22843
  return retVal;
22845
22844
  });
22846
22845
  __publicField(this, "Stop", async () => {
22847
- __privateGet(this, _EmitEvent).call(this, "Stopping", {});
22846
+ __privateGet(this, _EmitEvent).call(this, "Stopping ...", {});
22848
22847
  __privateGet(this, _debug7).call(this, chalk$1.magenta(`Stop(): Stopping Service.`));
22849
22848
  const workers = await __privateGet(this, _wm).GetWorkersSmall([]);
22850
- __privateGet(this, _debug7).call(this, `Stop(): Workers to terminated: [${JSON.stringify(workers, null, 2)}]`);
22851
- const workersTerminated = await __privateGet(this, _wm).TerminateWorkers(Object.values(workers).map((worker) => worker.id));
22852
- __privateGet(this, _debug7).call(this, `Stop(): Workers terminated: [${JSON.stringify(workersTerminated, null, 2)}]`);
22849
+ __privateGet(this, _debug7).call(this, `Stop(): Workers going to terminate ...`);
22850
+ await __privateGet(this, _wm).TerminateWorkers(Object.values(workers).map((worker) => worker.id));
22851
+ __privateGet(this, _debug7).call(this, `Stop(): Workers terminated`);
22853
22852
  if (this.socket) {
22854
- __privateGet(this, _debug7).call(this, `Stop(): Going to disconnect socket.`);
22853
+ __privateGet(this, _debug7).call(this, `Stop(): Going to disconnect socket ...`);
22855
22854
  this.socket.disconnect();
22856
22855
  __privateGet(this, _debug7).call(this, `Stop(): Socket disconnected.`);
22857
22856
  }
@@ -23202,17 +23201,8 @@ ${" ".repeat(r2.length - i2.length)}^`), o2))];
23202
23201
  let socketUtilsoptions = {
23203
23202
  logger: stsutils.defaultLogger
23204
23203
  };
23205
- if (__privateGet(this, _options5).agentOptions) {
23206
- const agentManager = new stsutils.AgentManager({
23207
- agentOptions: __privateGet(this, _options5).agentOptions,
23208
- httpAgentFactory(options2) {
23209
- return new https.Agent(options2);
23210
- },
23211
- httpsAgentFactory(options2) {
23212
- return new https.Agent(options2);
23213
- }
23214
- });
23215
- socketUtilsoptions.agentManager = agentManager;
23204
+ if (__privateGet(this, _options5).agentManager) {
23205
+ socketUtilsoptions.agentManager = __privateGet(this, _options5).agentManager;
23216
23206
  }
23217
23207
  __privateSet(this, _socketUtils2, new SocketIoClientHelper(socketUtilsoptions));
23218
23208
  __privateGet(this, _info2).call(this, chalk$1.yellow(`STS Test Runner Service Instance.`));