@nsshunt/ststestrunner 1.1.56 → 1.1.58
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
|
@@ -168,6 +168,7 @@ var TestCaseFhirBase = class {
|
|
|
168
168
|
agentManager: this.GetFhirAgentManager(),
|
|
169
169
|
joinRooms: [],
|
|
170
170
|
logger: this.#runnerExecutionWorker.logger,
|
|
171
|
+
verboseLogging: true,
|
|
171
172
|
GetConnectionAccessToken: this.GetAccessTokenForSocketClientAccess,
|
|
172
173
|
GetAccessToken: this.GetAccessToken
|
|
173
174
|
};
|
|
@@ -447,12 +448,8 @@ var TestCaseFhirBase = class {
|
|
|
447
448
|
await this.#OutputLogMessage(`StopRunner [${this.#runner.id}]`);
|
|
448
449
|
await this.#ForcePublishTelemetryData();
|
|
449
450
|
if (this.fhirClient) {
|
|
450
|
-
console.log(chalk.default.red(`************************************************************************************************`));
|
|
451
451
|
this.Debug(chalk.default.magenta(`TestCaseFhirBase:StopRunner(): Calling: [fhirClient.ResetSocket()]`));
|
|
452
|
-
console.log(chalk.default.red(`************************************************************************************************`));
|
|
453
|
-
this.fhirClient.ResetSocket();
|
|
454
452
|
await (0, _nsshunt_stsutils.Sleep)(100);
|
|
455
|
-
this.fhirClient = null;
|
|
456
453
|
}
|
|
457
454
|
return true;
|
|
458
455
|
};
|
|
@@ -460,12 +457,8 @@ var TestCaseFhirBase = class {
|
|
|
460
457
|
await this.#OutputLogMessage(`TerminateRunner [${this.#runner.id}]`);
|
|
461
458
|
await this.#ForcePublishTelemetryData();
|
|
462
459
|
if (this.fhirClient) {
|
|
463
|
-
console.log(chalk.default.red(`************************************************************************************************`));
|
|
464
460
|
this.Debug(chalk.default.magenta(`TestCaseFhirBase:TerminateRunner(): Calling: [fhirClient.ResetSocket()]`));
|
|
465
|
-
console.log(chalk.default.red(`************************************************************************************************`));
|
|
466
|
-
this.fhirClient.ResetSocket();
|
|
467
461
|
await (0, _nsshunt_stsutils.Sleep)(100);
|
|
468
|
-
this.fhirClient = null;
|
|
469
462
|
}
|
|
470
463
|
return true;
|
|
471
464
|
};
|
|
@@ -475,12 +468,8 @@ var TestCaseFhirBase = class {
|
|
|
475
468
|
await this.#OutputLogMessage(`Completed [${this.#runner.id}] [${JSON.stringify(this.#runner.instrumentData)}]`);
|
|
476
469
|
await this.#ForcePublishTelemetryData();
|
|
477
470
|
if (this.fhirClient) {
|
|
478
|
-
console.log(chalk.default.red(`************************************************************************************************`));
|
|
479
471
|
this.Debug(chalk.default.magenta(`TestCaseFhirBase:Completed(): Calling: [fhirClient.ResetSocket()]`));
|
|
480
|
-
console.log(chalk.default.red(`************************************************************************************************`));
|
|
481
|
-
this.fhirClient.ResetSocket();
|
|
482
472
|
await (0, _nsshunt_stsutils.Sleep)(100);
|
|
483
|
-
this.fhirClient = null;
|
|
484
473
|
}
|
|
485
474
|
return true;
|
|
486
475
|
};
|
|
@@ -498,12 +487,8 @@ var TestCaseFhirBase = class {
|
|
|
498
487
|
await this.#OutputLogMessage(`ResetRunner [${this.#runner.id}]`);
|
|
499
488
|
await this.#ForcePublishTelemetryData();
|
|
500
489
|
if (this.fhirClient) {
|
|
501
|
-
console.log(chalk.default.red(`************************************************************************************************`));
|
|
502
490
|
this.Debug(chalk.default.magenta(`TestCaseFhirBase:ResetRunner(): Calling: [fhirClient.ResetSocket()]`));
|
|
503
|
-
console.log(chalk.default.red(`************************************************************************************************`));
|
|
504
|
-
this.fhirClient.ResetSocket();
|
|
505
491
|
await (0, _nsshunt_stsutils.Sleep)(100);
|
|
506
|
-
this.fhirClient = null;
|
|
507
492
|
}
|
|
508
493
|
return true;
|
|
509
494
|
};
|