@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.
@@ -1319,6 +1319,15 @@ var TestCaseFhirBase = class {
1319
1319
  return this._ExecuteQuery();
1320
1320
  };
1321
1321
  _ExecuteQuery = async () => {
1322
+ const dummyIterationSleepDuration = this.runner.options.dummyIterationSleepDuration;
1323
+ if (dummyIterationSleepDuration > 0) {
1324
+ await Sleep(dummyIterationSleepDuration);
1325
+ return null;
1326
+ } else if (dummyIterationSleepDuration < 0) {
1327
+ const retVal = await (await this.GetClient()).GetLatency({});
1328
+ console.log(retVal);
1329
+ return null;
1330
+ }
1322
1331
  try {
1323
1332
  return await this.PerformExecuteQuery();
1324
1333
  } catch (error) {
@@ -2357,11 +2366,6 @@ var TestCaseFhir09 = class extends TestCaseFhirQueryBase {
2357
2366
  //#region src/libmodule/testCaseFhir10.ts
2358
2367
  var TestCaseFhir10 = class extends TestCaseFhirQueryBase {
2359
2368
  PerformExecuteQuery = async () => {
2360
- const dummyIterationSleepDuration = this.runner.options.dummyIterationSleepDuration;
2361
- if (dummyIterationSleepDuration > 0) {
2362
- await Sleep(dummyIterationSleepDuration);
2363
- return null;
2364
- }
2365
2369
  const __snapshot1 = performance.now();
2366
2370
  const client = await this.GetClient();
2367
2371
  const __snapshot2 = this._CheckOutputLongDurationError(__snapshot1, "await this.GetClient()");