@nsshunt/ststestrunner 1.1.64 → 1.1.66

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.
@@ -35826,19 +35826,12 @@ var WorkerFhirTestCases = class extends _nsshunt_stsrunnerframework.AbstractRunn
35826
35826
  return AsyncRunnerFactory.CreateAsyncRunner(this, testRunnerTelemetryPayload);
35827
35827
  };
35828
35828
  async ProcessPreTerminateWorkerMessage(messagePayload) {
35829
- console.log("");
35830
- console.log("");
35831
- console.log("");
35832
- console.log(chalk.default.rgb(220, 100, 0)(`----[ *********************************************************************************** ]----`));
35833
- console.log(chalk.default.rgb(220, 100, 0)(`----[ *********************************************************************************** ]----`));
35834
- console.log(chalk.default.rgb(220, 100, 0)(`----[ *********************************************************************************** ]----`));
35835
- console.log(chalk.default.rgb(220, 100, 0)(`ProcessPreTerminateWorkerMessage: [${JSON.stringify(messagePayload, null, 2)}]`));
35836
- console.log(chalk.default.rgb(220, 100, 0)(`----[ *********************************************************************************** ]----`));
35837
- console.log(chalk.default.rgb(220, 100, 0)(`----[ *********************************************************************************** ]----`));
35838
- console.log(chalk.default.rgb(220, 100, 0)(`----[ *********************************************************************************** ]----`));
35839
- console.log("");
35840
- console.log("");
35841
- console.log("");
35829
+ this.logger.debug(chalk.default.rgb(220, 100, 0)(`ProcessPreTerminateWorkerMessage: [${JSON.stringify(messagePayload, null, 2)}]`));
35830
+ if (this.fhirClient) {
35831
+ this.logger.debug(chalk.default.rgb(220, 100, 0)(`ProcessPreTerminateWorkerMessage: ResetSocket()`));
35832
+ this.fhirClient.ResetSocket();
35833
+ this.fhirClient = void 0;
35834
+ }
35842
35835
  await (0, _nsshunt_stsutils.Sleep)(250);
35843
35836
  return {
35844
35837
  originalMessage: { ...messagePayload },