@nsshunt/ststestrunner 1.1.64 → 1.1.65

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.
@@ -35803,19 +35803,12 @@ var WorkerFhirTestCases = class extends AbstractRunnerExecutionWorker {
35803
35803
  return AsyncRunnerFactory.CreateAsyncRunner(this, testRunnerTelemetryPayload);
35804
35804
  };
35805
35805
  async ProcessPreTerminateWorkerMessage(messagePayload) {
35806
- console.log("");
35807
- console.log("");
35808
- console.log("");
35809
- console.log(chalk.rgb(220, 100, 0)(`----[ *********************************************************************************** ]----`));
35810
- console.log(chalk.rgb(220, 100, 0)(`----[ *********************************************************************************** ]----`));
35811
- console.log(chalk.rgb(220, 100, 0)(`----[ *********************************************************************************** ]----`));
35812
- console.log(chalk.rgb(220, 100, 0)(`ProcessPreTerminateWorkerMessage: [${JSON.stringify(messagePayload, null, 2)}]`));
35813
- console.log(chalk.rgb(220, 100, 0)(`----[ *********************************************************************************** ]----`));
35814
- console.log(chalk.rgb(220, 100, 0)(`----[ *********************************************************************************** ]----`));
35815
- console.log(chalk.rgb(220, 100, 0)(`----[ *********************************************************************************** ]----`));
35816
- console.log("");
35817
- console.log("");
35818
- console.log("");
35806
+ this.logger.debug(chalk.rgb(220, 100, 0)(`ProcessPreTerminateWorkerMessage: [${JSON.stringify(messagePayload, null, 2)}]`));
35807
+ if (this.fhirClient) {
35808
+ this.logger.debug(chalk.rgb(220, 100, 0)(`ProcessPreTerminateWorkerMessage: ResetSocket()`));
35809
+ this.fhirClient.ResetSocket();
35810
+ this.fhirClient = void 0;
35811
+ }
35819
35812
  await Sleep(250);
35820
35813
  return {
35821
35814
  originalMessage: { ...messagePayload },