@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.
@@ -155,7 +155,10 @@ var TestCaseFhirBase = class {
155
155
  GetFhirSocketClient = async () => {
156
156
  try {
157
157
  this.#clientSocketFetchCount++;
158
- if (this.fhirClient) return this.fhirClient;
158
+ if (this.runnerExecutionWorker.fhirClient) {
159
+ this.fhirClient = this.runnerExecutionWorker.fhirClient;
160
+ return this.fhirClient;
161
+ }
159
162
  const fhirOptions = this.#options.fhirOptions;
160
163
  const options = {
161
164
  fhirServerEndpoint: fhirOptions.stsfhirserverendpoint,
@@ -175,6 +178,7 @@ var TestCaseFhirBase = class {
175
178
  if (this.runner.options.fhirOptions.stsfhirsocketclientmode === "socket-client-all-in-one") this.fhirClient = new _nsshunt_stsfhirclient.FhirSocketClientAllInOne("FhirSocketClient", options);
176
179
  else this.fhirClient = new _nsshunt_stsfhirclient.FhirSocketClientIndividual("FhirSocketClient", options);
177
180
  await this.fhirClient.WaitForSocketConnected();
181
+ this.runnerExecutionWorker.fhirClient = this.fhirClient;
178
182
  return this.fhirClient;
179
183
  } catch (error) {
180
184
  this.LogErrorMessage(error);
@@ -35832,6 +35836,7 @@ var WorkerFhirTestCases = class extends _nsshunt_stsrunnerframework.AbstractRunn
35832
35836
  this._options = options;
35833
35837
  this._resourceDataGenerator = new ResourceDataGenerator();
35834
35838
  }
35839
+ fhirClient = void 0;
35835
35840
  get resourceDataGenerator() {
35836
35841
  return this._resourceDataGenerator;
35837
35842
  }