@nsshunt/ststestrunner 1.1.49 → 1.1.51

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.
@@ -157,12 +157,13 @@ var TestCaseFhirBase = class {
157
157
  try {
158
158
  this.#clientSocketFetchCount++;
159
159
  if (this.fhirClient) {
160
+ this.Debug(`GetFhirSocketClient(): clientSocketFetchCount: [${this.#clientSocketFetchCount}] resetSocketClientTrigger: [${this.#resetSocketClientTrigger}] mod: [${this.#clientSocketFetchCount % this.#resetSocketClientTrigger}]`);
160
161
  if (this.#clientSocketFetchCount % this.#resetSocketClientTrigger === 0) {
161
162
  this.fhirClient.ResetSocket();
162
163
  await (0, _nsshunt_stsutils.Sleep)(3500);
163
164
  this.fhirClient = null;
164
165
  return this.GetFhirSocketClient();
165
- }
166
+ } else return this.fhirClient;
166
167
  }
167
168
  const fhirOptions = this.#options.fhirOptions;
168
169
  const options = {