@testomatio/reporter 2.25.0 → 2.26.0
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/lib/pipe/testomatio.d.ts
CHANGED
package/lib/pipe/testomatio.js
CHANGED
|
@@ -84,6 +84,9 @@ class TestomatioPipe {
|
|
|
84
84
|
this.sharedRunTimeout = process.env.TESTOMATIO_SHARED_RUN_TIMEOUT
|
|
85
85
|
? parseInt(process.env.TESTOMATIO_SHARED_RUN_TIMEOUT, 10)
|
|
86
86
|
: undefined;
|
|
87
|
+
this.terminationProtectionTimeout = process.env.TESTOMATIO_TERMINATION_PROTECTION_TIMEOUT
|
|
88
|
+
? parseInt(process.env.TESTOMATIO_TERMINATION_PROTECTION_TIMEOUT, 10) || undefined
|
|
89
|
+
: undefined;
|
|
87
90
|
if ((this.sharedRunTimeout || this.sharedRunShards) && !this.sharedRun) {
|
|
88
91
|
debug('Auto-enabling sharedRun because sharedRunTimeout or sharedRunShards is set');
|
|
89
92
|
this.sharedRun = true;
|
|
@@ -301,6 +304,7 @@ class TestomatioPipe {
|
|
|
301
304
|
shared_run: this.sharedRun,
|
|
302
305
|
shared_run_timeout: this.sharedRunTimeout,
|
|
303
306
|
shared_run_shards: this.sharedRunShards,
|
|
307
|
+
termination_protection_timeout: this.terminationProtectionTimeout,
|
|
304
308
|
kind: params.kind,
|
|
305
309
|
status: params.status,
|
|
306
310
|
configuration,
|
package/package.json
CHANGED
package/src/pipe/testomatio.js
CHANGED
|
@@ -97,6 +97,9 @@ class TestomatioPipe {
|
|
|
97
97
|
this.sharedRunTimeout = process.env.TESTOMATIO_SHARED_RUN_TIMEOUT
|
|
98
98
|
? parseInt(process.env.TESTOMATIO_SHARED_RUN_TIMEOUT, 10)
|
|
99
99
|
: undefined;
|
|
100
|
+
this.terminationProtectionTimeout = process.env.TESTOMATIO_TERMINATION_PROTECTION_TIMEOUT
|
|
101
|
+
? parseInt(process.env.TESTOMATIO_TERMINATION_PROTECTION_TIMEOUT, 10) || undefined
|
|
102
|
+
: undefined;
|
|
100
103
|
|
|
101
104
|
if ((this.sharedRunTimeout || this.sharedRunShards) && !this.sharedRun) {
|
|
102
105
|
debug('Auto-enabling sharedRun because sharedRunTimeout or sharedRunShards is set');
|
|
@@ -334,6 +337,7 @@ class TestomatioPipe {
|
|
|
334
337
|
shared_run: this.sharedRun,
|
|
335
338
|
shared_run_timeout: this.sharedRunTimeout,
|
|
336
339
|
shared_run_shards: this.sharedRunShards,
|
|
340
|
+
termination_protection_timeout: this.terminationProtectionTimeout,
|
|
337
341
|
kind: params.kind,
|
|
338
342
|
status: params.status,
|
|
339
343
|
configuration,
|