@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.mjs
CHANGED
|
@@ -145,6 +145,7 @@ var TestCaseFhirBase = class {
|
|
|
145
145
|
agentManager: this.GetFhirAgentManager(),
|
|
146
146
|
joinRooms: [],
|
|
147
147
|
logger: this.#runnerExecutionWorker.logger,
|
|
148
|
+
verboseLogging: true,
|
|
148
149
|
GetConnectionAccessToken: this.GetAccessTokenForSocketClientAccess,
|
|
149
150
|
GetAccessToken: this.GetAccessToken
|
|
150
151
|
};
|
|
@@ -424,12 +425,8 @@ var TestCaseFhirBase = class {
|
|
|
424
425
|
await this.#OutputLogMessage(`StopRunner [${this.#runner.id}]`);
|
|
425
426
|
await this.#ForcePublishTelemetryData();
|
|
426
427
|
if (this.fhirClient) {
|
|
427
|
-
console.log(chalk.red(`************************************************************************************************`));
|
|
428
428
|
this.Debug(chalk.magenta(`TestCaseFhirBase:StopRunner(): Calling: [fhirClient.ResetSocket()]`));
|
|
429
|
-
console.log(chalk.red(`************************************************************************************************`));
|
|
430
|
-
this.fhirClient.ResetSocket();
|
|
431
429
|
await Sleep(100);
|
|
432
|
-
this.fhirClient = null;
|
|
433
430
|
}
|
|
434
431
|
return true;
|
|
435
432
|
};
|
|
@@ -437,12 +434,8 @@ var TestCaseFhirBase = class {
|
|
|
437
434
|
await this.#OutputLogMessage(`TerminateRunner [${this.#runner.id}]`);
|
|
438
435
|
await this.#ForcePublishTelemetryData();
|
|
439
436
|
if (this.fhirClient) {
|
|
440
|
-
console.log(chalk.red(`************************************************************************************************`));
|
|
441
437
|
this.Debug(chalk.magenta(`TestCaseFhirBase:TerminateRunner(): Calling: [fhirClient.ResetSocket()]`));
|
|
442
|
-
console.log(chalk.red(`************************************************************************************************`));
|
|
443
|
-
this.fhirClient.ResetSocket();
|
|
444
438
|
await Sleep(100);
|
|
445
|
-
this.fhirClient = null;
|
|
446
439
|
}
|
|
447
440
|
return true;
|
|
448
441
|
};
|
|
@@ -452,12 +445,8 @@ var TestCaseFhirBase = class {
|
|
|
452
445
|
await this.#OutputLogMessage(`Completed [${this.#runner.id}] [${JSON.stringify(this.#runner.instrumentData)}]`);
|
|
453
446
|
await this.#ForcePublishTelemetryData();
|
|
454
447
|
if (this.fhirClient) {
|
|
455
|
-
console.log(chalk.red(`************************************************************************************************`));
|
|
456
448
|
this.Debug(chalk.magenta(`TestCaseFhirBase:Completed(): Calling: [fhirClient.ResetSocket()]`));
|
|
457
|
-
console.log(chalk.red(`************************************************************************************************`));
|
|
458
|
-
this.fhirClient.ResetSocket();
|
|
459
449
|
await Sleep(100);
|
|
460
|
-
this.fhirClient = null;
|
|
461
450
|
}
|
|
462
451
|
return true;
|
|
463
452
|
};
|
|
@@ -475,12 +464,8 @@ var TestCaseFhirBase = class {
|
|
|
475
464
|
await this.#OutputLogMessage(`ResetRunner [${this.#runner.id}]`);
|
|
476
465
|
await this.#ForcePublishTelemetryData();
|
|
477
466
|
if (this.fhirClient) {
|
|
478
|
-
console.log(chalk.red(`************************************************************************************************`));
|
|
479
467
|
this.Debug(chalk.magenta(`TestCaseFhirBase:ResetRunner(): Calling: [fhirClient.ResetSocket()]`));
|
|
480
|
-
console.log(chalk.red(`************************************************************************************************`));
|
|
481
|
-
this.fhirClient.ResetSocket();
|
|
482
468
|
await Sleep(100);
|
|
483
|
-
this.fhirClient = null;
|
|
484
469
|
}
|
|
485
470
|
return true;
|
|
486
471
|
};
|