@nsshunt/ststestrunner 1.0.44 → 1.0.45
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
|
@@ -12077,11 +12077,16 @@ class FhirSocketClient {
|
|
|
12077
12077
|
body: {}
|
|
12078
12078
|
};
|
|
12079
12079
|
return new Promise((resolve, reject) => {
|
|
12080
|
+
const start = performance.now();
|
|
12080
12081
|
this.socket.timeout(__privateGet$1(this, _options2).timeout).emit("getFhirResources", resource, request, (err, res) => {
|
|
12081
12082
|
if (err) {
|
|
12083
|
+
const duration = (performance.now() - start) / 1e3;
|
|
12084
|
+
console.log(`FhirSocketClient:GetResources(): Duration for query (error): [${duration}]`);
|
|
12082
12085
|
__privateGet$1(this, _error).call(this, `FhirSocketClient:GetResources(): ID: [${__privateGet$1(this, _id)}] clientName: [${__privateGet$1(this, _clientName)}] Error: [${err}]`);
|
|
12083
12086
|
reject(err);
|
|
12084
12087
|
} else {
|
|
12088
|
+
const duration = (performance.now() - start) / 1e3;
|
|
12089
|
+
console.log(`FhirSocketClient:GetResources(): Duration for query: [${duration}]`);
|
|
12085
12090
|
resolve(res);
|
|
12086
12091
|
}
|
|
12087
12092
|
});
|
|
@@ -13556,7 +13561,7 @@ class StartUpDelFhirResources extends TestCaseFhirBase {
|
|
|
13556
13561
|
limit: options.batchDeleteSize,
|
|
13557
13562
|
prefix: options.personPrefix
|
|
13558
13563
|
}, (error) => {
|
|
13559
|
-
this.LogErrorMessage(chalk$1.red(`
|
|
13564
|
+
this.LogErrorMessage(chalk$1.red(`ExecuteRunner():GetResources: Error: [${error}]`));
|
|
13560
13565
|
});
|
|
13561
13566
|
__privateGet(this, _debug3).call(this, chalk$1.magenta(`ExecuteRunner() - post GetResources()`));
|
|
13562
13567
|
__privateGet(this, _debug3).call(this, retVal);
|