@nsshunt/ststestrunner 1.1.59 → 1.1.60

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.
@@ -132,7 +132,10 @@ var TestCaseFhirBase = class {
132
132
  GetFhirSocketClient = async () => {
133
133
  try {
134
134
  this.#clientSocketFetchCount++;
135
- if (this.fhirClient) return this.fhirClient;
135
+ if (this.runnerExecutionWorker.fhirClient) {
136
+ this.fhirClient = this.runnerExecutionWorker.fhirClient;
137
+ return this.fhirClient;
138
+ }
136
139
  const fhirOptions = this.#options.fhirOptions;
137
140
  const options = {
138
141
  fhirServerEndpoint: fhirOptions.stsfhirserverendpoint,
@@ -152,6 +155,7 @@ var TestCaseFhirBase = class {
152
155
  if (this.runner.options.fhirOptions.stsfhirsocketclientmode === "socket-client-all-in-one") this.fhirClient = new FhirSocketClientAllInOne("FhirSocketClient", options);
153
156
  else this.fhirClient = new FhirSocketClientIndividual("FhirSocketClient", options);
154
157
  await this.fhirClient.WaitForSocketConnected();
158
+ this.runnerExecutionWorker.fhirClient = this.fhirClient;
155
159
  return this.fhirClient;
156
160
  } catch (error) {
157
161
  this.LogErrorMessage(error);
@@ -35809,6 +35813,7 @@ var WorkerFhirTestCases = class extends AbstractRunnerExecutionWorker {
35809
35813
  this._options = options;
35810
35814
  this._resourceDataGenerator = new ResourceDataGenerator();
35811
35815
  }
35816
+ fhirClient = void 0;
35812
35817
  get resourceDataGenerator() {
35813
35818
  return this._resourceDataGenerator;
35814
35819
  }