Skip to content

Commit 70de730

Browse files
committed
test: add shutdown timeout
1 parent dc42c9b commit 70de730

File tree

7 files changed

+8
-0
lines changed

7 files changed

+8
-0
lines changed

tests/templates/kuttl/cluster-operation/10-install-zookeeper.yaml.j2

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ spec:
2727
{% endif %}
2828
servers:
2929
config:
30+
gracefulShutdownTimeout: 1m
3031
logging:
3132
enableVectorAgent: {{ lookup('env', 'VECTOR_AGGREGATOR') | length > 0 }}
3233
roleGroups:

tests/templates/kuttl/cluster-operation/20-stop-zookeeper.yaml.j2

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ spec:
2121
stopped: true
2222
servers:
2323
config:
24+
gracefulShutdownTimeout: 1m
2425
logging:
2526
enableVectorAgent: {{ lookup('env', 'VECTOR_AGGREGATOR') | length > 0 }}
2627
roleGroups:

tests/templates/kuttl/cluster-operation/30-pause-zookeeper.yaml.j2

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ spec:
2222
reconciliationPaused: true
2323
servers:
2424
config:
25+
gracefulShutdownTimeout: 1m
2526
logging:
2627
enableVectorAgent: {{ lookup('env', 'VECTOR_AGGREGATOR') | length > 0 }}
2728
roleGroups:

tests/templates/kuttl/cluster-operation/40-restart-zookeeper.yaml.j2

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ spec:
2222
reconciliationPaused: false
2323
servers:
2424
config:
25+
gracefulShutdownTimeout: 1m
2526
logging:
2627
enableVectorAgent: {{ lookup('env', 'VECTOR_AGGREGATOR') | length > 0 }}
2728
roleGroups:

tests/templates/kuttl/delete-rolegroup/05-install-zookeeper.yaml.j2

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ spec:
2929
{% endif %}
3030
servers:
3131
config:
32+
gracefulShutdownTimeout: 1m
3233
logging:
3334
enableVectorAgent: {{ lookup('env', 'VECTOR_AGGREGATOR') | length > 0 }}
3435
resources:

tests/templates/kuttl/logging/11-install-zookeeper.yaml.j2

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ spec:
3838
clusterConfig:
3939
vectorAggregatorConfigMapName: zookeeper-vector-aggregator-discovery
4040
servers:
41+
config:
42+
gracefulShutdownTimeout: 1m
4143
roleGroups:
4244
automatic-log-config:
4345
replicas: 1

tests/templates/kuttl/znode/10-install-zookeeper.yaml.j2

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ spec:
2727
{% endif %}
2828
servers:
2929
config:
30+
gracefulShutdownTimeout: 1m
3031
logging:
3132
enableVectorAgent: {{ lookup('env', 'VECTOR_AGGREGATOR') | length > 0 }}
3233
roleGroups:

0 commit comments

Comments
 (0)