@nsshunt/ststestrunner 1.1.81 → 1.1.82

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.
@@ -1027,7 +1027,7 @@ var TestCaseFhir02 = class extends TestCaseFhirQueryBase {
1027
1027
  maxAuthRetryCount = 5;
1028
1028
  ExecuteQuery = async () => {
1029
1029
  this.retryCount = 0;
1030
- for (let i = 0; i < 125; i++) {
1030
+ for (let i = 0; i < 15; i++) {
1031
1031
  await Sleep(1e3);
1032
1032
  console.log(chalk.rgb(100, 50, 100)(`Sleep count: [${i}]`));
1033
1033
  }
@@ -1046,6 +1046,8 @@ var TestCaseFhir02 = class extends TestCaseFhirQueryBase {
1046
1046
  return retVal.body;
1047
1047
  } catch (error) {
1048
1048
  this.runner.instrumentData.errorCount++;
1049
+ this.Error(error);
1050
+ console.error(error);
1049
1051
  if (this.HandleError(error) === true) if (this.retryCount < this.maxAuthRetryCount) {
1050
1052
  this.retryCount++;
1051
1053
  const message = `TestCaseFhir02:ExecuteQuery(): Retry auth attempt: retryCount: [${this.retryCount}], maxAuthRetryCount: [${this.maxAuthRetryCount}]`;