@nsshunt/ststestrunner 1.1.134 → 1.1.135
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
|
@@ -984,6 +984,8 @@ var TestCaseFhirBase = class {
|
|
|
984
984
|
#publishTelemetryTimeout = null;
|
|
985
985
|
#publishTelemetryTimeoutVal = 1e3;
|
|
986
986
|
randomSequence = [];
|
|
987
|
+
_currentWorkerManagerIndex = 0;
|
|
988
|
+
_indexTable = {};
|
|
987
989
|
_RetryMap = [
|
|
988
990
|
100,
|
|
989
991
|
250,
|
|
@@ -1219,8 +1221,90 @@ var TestCaseFhirBase = class {
|
|
|
1219
1221
|
255
|
|
1220
1222
|
]
|
|
1221
1223
|
];
|
|
1224
|
+
const workerManagerRGBTable = [
|
|
1225
|
+
[
|
|
1226
|
+
200,
|
|
1227
|
+
0,
|
|
1228
|
+
255
|
|
1229
|
+
],
|
|
1230
|
+
[
|
|
1231
|
+
210,
|
|
1232
|
+
60,
|
|
1233
|
+
255
|
|
1234
|
+
],
|
|
1235
|
+
[
|
|
1236
|
+
220,
|
|
1237
|
+
114,
|
|
1238
|
+
255
|
|
1239
|
+
],
|
|
1240
|
+
[
|
|
1241
|
+
235,
|
|
1242
|
+
170,
|
|
1243
|
+
255
|
|
1244
|
+
],
|
|
1245
|
+
[
|
|
1246
|
+
240,
|
|
1247
|
+
210,
|
|
1248
|
+
255
|
|
1249
|
+
],
|
|
1250
|
+
[
|
|
1251
|
+
0,
|
|
1252
|
+
255,
|
|
1253
|
+
130
|
|
1254
|
+
],
|
|
1255
|
+
[
|
|
1256
|
+
75,
|
|
1257
|
+
255,
|
|
1258
|
+
160
|
|
1259
|
+
],
|
|
1260
|
+
[
|
|
1261
|
+
130,
|
|
1262
|
+
255,
|
|
1263
|
+
190
|
|
1264
|
+
],
|
|
1265
|
+
[
|
|
1266
|
+
190,
|
|
1267
|
+
255,
|
|
1268
|
+
220
|
|
1269
|
+
],
|
|
1270
|
+
[
|
|
1271
|
+
215,
|
|
1272
|
+
255,
|
|
1273
|
+
230
|
|
1274
|
+
],
|
|
1275
|
+
[
|
|
1276
|
+
255,
|
|
1277
|
+
150,
|
|
1278
|
+
0
|
|
1279
|
+
],
|
|
1280
|
+
[
|
|
1281
|
+
255,
|
|
1282
|
+
170,
|
|
1283
|
+
65
|
|
1284
|
+
],
|
|
1285
|
+
[
|
|
1286
|
+
255,
|
|
1287
|
+
200,
|
|
1288
|
+
130
|
|
1289
|
+
],
|
|
1290
|
+
[
|
|
1291
|
+
255,
|
|
1292
|
+
220,
|
|
1293
|
+
180
|
|
1294
|
+
],
|
|
1295
|
+
[
|
|
1296
|
+
255,
|
|
1297
|
+
235,
|
|
1298
|
+
210
|
|
1299
|
+
]
|
|
1300
|
+
];
|
|
1301
|
+
if (!this._indexTable[workerManagerId]) this._indexTable[workerManagerId] = this._currentWorkerManagerIndex++;
|
|
1302
|
+
const workerManagerIndex = this._indexTable[workerManagerId];
|
|
1222
1303
|
const rgbTableRow = rgbTable[options.workerIndex % rgbTable.length];
|
|
1223
|
-
|
|
1304
|
+
const workerManagerRGBTableRow = workerManagerRGBTable[workerManagerIndex % workerManagerRGBTable.length];
|
|
1305
|
+
const wkCol = chalk.default.rgb(rgbTableRow[0], rgbTableRow[1], rgbTableRow[2]);
|
|
1306
|
+
const wkColWM = chalk.default.rgb(workerManagerRGBTableRow[0], workerManagerRGBTableRow[1], workerManagerRGBTableRow[2]);
|
|
1307
|
+
return wkCol(`runPrefix: [${chalk.default.bold(runPrefix)}], testType: [${chalk.default.bold(testType)}], description: [${chalk.default.bold(description)}], workerManagerId: [${wkColWM(chalk.default.bold(workerManagerId))}], Iteration: [${chalk.default.bold(iteration.toString())}]`);
|
|
1224
1308
|
};
|
|
1225
1309
|
_CheckOutputLongDurationError = (snapshotStart, message) => {
|
|
1226
1310
|
const snapShotEnd = performance.now();
|