@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.
@@ -40,6 +40,7 @@ declare class TestomatioPipe implements Pipe {
40
40
  sharedRun: boolean;
41
41
  sharedRunShards: number;
42
42
  sharedRunTimeout: number;
43
+ terminationProtectionTimeout: number;
43
44
  groupTitle: any;
44
45
  env: string;
45
46
  label: string;
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@testomatio/reporter",
3
- "version": "2.25.0",
3
+ "version": "2.26.0",
4
4
  "description": "Testomatio Reporter Client",
5
5
  "engines": {
6
6
  "node": ">=22"
@@ -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,