@nsshunt/ststestrunner 1.1.152 → 1.1.154
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.cjs
CHANGED
|
@@ -1324,6 +1324,15 @@ var TestCaseFhirBase = class {
|
|
|
1324
1324
|
return this._ExecuteQuery();
|
|
1325
1325
|
};
|
|
1326
1326
|
_ExecuteQuery = async () => {
|
|
1327
|
+
const dummyIterationSleepDuration = this.runner.options.dummyIterationSleepDuration;
|
|
1328
|
+
if (dummyIterationSleepDuration > 0) {
|
|
1329
|
+
await (0, _nsshunt_stsutils.Sleep)(dummyIterationSleepDuration);
|
|
1330
|
+
return null;
|
|
1331
|
+
} else if (dummyIterationSleepDuration < 0) {
|
|
1332
|
+
const retVal = await (await this.GetClient()).GetLatency({});
|
|
1333
|
+
console.log(retVal);
|
|
1334
|
+
return null;
|
|
1335
|
+
}
|
|
1327
1336
|
try {
|
|
1328
1337
|
return await this.PerformExecuteQuery();
|
|
1329
1338
|
} catch (error) {
|
|
@@ -2362,11 +2371,6 @@ var TestCaseFhir09 = class extends TestCaseFhirQueryBase {
|
|
|
2362
2371
|
//#region src/libmodule/testCaseFhir10.ts
|
|
2363
2372
|
var TestCaseFhir10 = class extends TestCaseFhirQueryBase {
|
|
2364
2373
|
PerformExecuteQuery = async () => {
|
|
2365
|
-
const dummyIterationSleepDuration = this.runner.options.dummyIterationSleepDuration;
|
|
2366
|
-
if (dummyIterationSleepDuration > 0) {
|
|
2367
|
-
await (0, _nsshunt_stsutils.Sleep)(dummyIterationSleepDuration);
|
|
2368
|
-
return null;
|
|
2369
|
-
}
|
|
2370
2374
|
const __snapshot1 = performance.now();
|
|
2371
2375
|
const client = await this.GetClient();
|
|
2372
2376
|
const __snapshot2 = this._CheckOutputLongDurationError(__snapshot1, "await this.GetClient()");
|