@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.
package/dist/ststestrunner.cjs
CHANGED
|
@@ -1051,7 +1051,7 @@ var TestCaseFhir02 = class extends TestCaseFhirQueryBase {
|
|
|
1051
1051
|
maxAuthRetryCount = 5;
|
|
1052
1052
|
ExecuteQuery = async () => {
|
|
1053
1053
|
this.retryCount = 0;
|
|
1054
|
-
for (let i = 0; i <
|
|
1054
|
+
for (let i = 0; i < 15; i++) {
|
|
1055
1055
|
await (0, _nsshunt_stsutils.Sleep)(1e3);
|
|
1056
1056
|
console.log(chalk.default.rgb(100, 50, 100)(`Sleep count: [${i}]`));
|
|
1057
1057
|
}
|
|
@@ -1070,6 +1070,8 @@ var TestCaseFhir02 = class extends TestCaseFhirQueryBase {
|
|
|
1070
1070
|
return retVal.body;
|
|
1071
1071
|
} catch (error) {
|
|
1072
1072
|
this.runner.instrumentData.errorCount++;
|
|
1073
|
+
this.Error(error);
|
|
1074
|
+
console.error(error);
|
|
1073
1075
|
if (this.HandleError(error) === true) if (this.retryCount < this.maxAuthRetryCount) {
|
|
1074
1076
|
this.retryCount++;
|
|
1075
1077
|
const message = `TestCaseFhir02:ExecuteQuery(): Retry auth attempt: retryCount: [${this.retryCount}], maxAuthRetryCount: [${this.maxAuthRetryCount}]`;
|