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