@nsshunt/ststestrunner 1.1.51 → 1.1.53

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.
@@ -133,15 +133,7 @@ var TestCaseFhirBase = class {
133
133
  GetFhirSocketClient = async () => {
134
134
  try {
135
135
  this.#clientSocketFetchCount++;
136
- if (this.fhirClient) {
137
- this.Debug(`GetFhirSocketClient(): clientSocketFetchCount: [${this.#clientSocketFetchCount}] resetSocketClientTrigger: [${this.#resetSocketClientTrigger}] mod: [${this.#clientSocketFetchCount % this.#resetSocketClientTrigger}]`);
138
- if (this.#clientSocketFetchCount % this.#resetSocketClientTrigger === 0) {
139
- this.fhirClient.ResetSocket();
140
- await Sleep(3500);
141
- this.fhirClient = null;
142
- return this.GetFhirSocketClient();
143
- } else return this.fhirClient;
144
- }
136
+ if (this.fhirClient) return this.fhirClient;
145
137
  const fhirOptions = this.#options.fhirOptions;
146
138
  const options = {
147
139
  fhirServerEndpoint: fhirOptions.stsfhirserverendpoint,