Skip to content

Commit e8e2e33

Browse files
xk6-disruptor: Document timeout option (#1959)
* `xk6-disruptor`: Document timeout option * Update docs/sources/k6/v1.0.x/testing-guides/injecting-faults-with-xk6-disruptor/xk6-disruptor/faults/pod-termination.md Co-authored-by: pablochacin <[email protected]> --------- Co-authored-by: pablochacin <[email protected]>
1 parent c63c150 commit e8e2e33

File tree

1 file changed

+4
-3
lines changed
  • docs/sources/k6/v1.0.x/testing-guides/injecting-faults-with-xk6-disruptor/xk6-disruptor/faults

1 file changed

+4
-3
lines changed

docs/sources/k6/v1.0.x/testing-guides/injecting-faults-with-xk6-disruptor/xk6-disruptor/faults/pod-termination.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,10 @@ A Pod Termination Fault allows terminating either a fixed number or a percentage
1212

1313
A Pod Termination fault is defined by the following attributes:
1414

15-
| Attribute | Type | Description |
16-
| --------- | --------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
17-
| count | integer or percentage | the number of pods to be terminated. It can be specified as a integer number or as a percentage, for example `30%`, that defines the fraction of target pods to be terminated |
15+
| Attribute | Type | Default | Description |
16+
| --------- | --------------------- | -------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
17+
| count | integer or percentage | Required | the number of pods to be terminated. It can be specified as a integer number or as a percentage, for example `30%`, that defines the fraction of target pods to be terminated |
18+
| timeout | duration | 10s | how long to wait for pods to be terminated. If exceeded, the fault injection completes with an error
1819

1920
{{< admonition type="note" >}}
2021

0 commit comments

Comments
 (0)