@nsshunt/ststestrunner 1.1.82 → 1.1.83

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.
@@ -753,7 +753,6 @@ var TestCaseFhirBase = class {
753
753
  let timeout = void 0;
754
754
  let start = performance.now();
755
755
  try {
756
- if (start - this.accessTokenTime > this.newTokenLimitTime * 1e3) this.#accesssToken = null;
757
756
  if (this.#accesssToken) return this.#accesssToken;
758
757
  timeout = setTimeout(() => {
759
758
  this.Warning(chalk.magenta(`TestCaseFhirBase:GetAccessToken(): Timeout: [${this._authMaxTimeout}] exceeded for getting access token ...`));
@@ -1027,7 +1026,7 @@ var TestCaseFhir02 = class extends TestCaseFhirQueryBase {
1027
1026
  maxAuthRetryCount = 5;
1028
1027
  ExecuteQuery = async () => {
1029
1028
  this.retryCount = 0;
1030
- for (let i = 0; i < 15; i++) {
1029
+ if (this.runner.iteration > 0) for (let i = 0; i < 15; i++) {
1031
1030
  await Sleep(1e3);
1032
1031
  console.log(chalk.rgb(100, 50, 100)(`Sleep count: [${i}]`));
1033
1032
  }