Skip to content

Commit aec5401

Browse files
authored
test: add shutdown timeout (#695)
1 parent dc29566 commit aec5401

15 files changed

+16
-0
lines changed

tests/templates/kuttl/cluster_operation/20-install-nifi.yaml.j2

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ spec:
4747
zookeeperConfigMapName: test-nifi-znode
4848
nodes:
4949
config:
50+
gracefulShutdownTimeout: 1m
5051
logging:
5152
enableVectorAgent: {{ lookup('env', 'VECTOR_AGGREGATOR') | length > 0 }}
5253
roleGroups:

tests/templates/kuttl/cluster_operation/30-stop-nifi.yaml.j2

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ spec:
2626
reconciliationPaused: false
2727
nodes:
2828
config:
29+
gracefulShutdownTimeout: 1m
2930
logging:
3031
enableVectorAgent: {{ lookup('env', 'VECTOR_AGGREGATOR') | length > 0 }}
3132
roleGroups:

tests/templates/kuttl/cluster_operation/40-pause-nifi.yaml.j2

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ spec:
2626
reconciliationPaused: true
2727
nodes:
2828
config:
29+
gracefulShutdownTimeout: 1m
2930
logging:
3031
enableVectorAgent: {{ lookup('env', 'VECTOR_AGGREGATOR') | length > 0 }}
3132
roleGroups:

tests/templates/kuttl/cluster_operation/50-restart-nifi.yaml.j2

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ spec:
2626
reconciliationPaused: false
2727
nodes:
2828
config:
29+
gracefulShutdownTimeout: 1m
2930
logging:
3031
enableVectorAgent: {{ lookup('env', 'VECTOR_AGGREGATOR') | length > 0 }}
3132
roleGroups:

tests/templates/kuttl/ldap/10-install-zk.yaml.j2

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ spec:
1313
{% endif %}
1414
servers:
1515
config:
16+
gracefulShutdownTimeout: 1m
1617
logging:
1718
enableVectorAgent: {{ lookup('env', 'VECTOR_AGGREGATOR') | length > 0 }}
1819
roleGroups:

tests/templates/kuttl/ldap/12-install-nifi.yaml.j2

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ spec:
4646
listenerClass: external-unstable
4747
nodes:
4848
config:
49+
gracefulShutdownTimeout: 1m
4950
logging:
5051
enableVectorAgent: {{ lookup('env', 'VECTOR_AGGREGATOR') | length > 0 }}
5152
roleGroups:

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ spec:
1313
{% endif %}
1414
servers:
1515
config:
16+
gracefulShutdownTimeout: 1m
1617
logging:
1718
enableVectorAgent: {{ lookup('env', 'VECTOR_AGGREGATOR') | length > 0 }}
1819
roleGroups:

tests/templates/kuttl/logging/04-install-nifi.yaml.j2

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,8 @@ spec:
9898
vectorAggregatorConfigMapName: nifi-vector-aggregator-discovery
9999
zookeeperConfigMapName: test-nifi-znode
100100
nodes:
101+
config:
102+
gracefulShutdownTimeout: 1m
101103
roleGroups:
102104
automatic-log-config:
103105
replicas: 1

tests/templates/kuttl/oidc/10-install-zk.yaml.j2

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ spec:
1313
{% endif %}
1414
servers:
1515
config:
16+
gracefulShutdownTimeout: 1m
1617
logging:
1718
enableVectorAgent: {{ lookup('env', 'VECTOR_AGGREGATOR') | length > 0 }}
1819
roleGroups:

tests/templates/kuttl/orphaned_resources/01-install-zk.yaml.j2

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ spec:
1313
{% endif %}
1414
servers:
1515
config:
16+
gracefulShutdownTimeout: 1m
1617
logging:
1718
enableVectorAgent: {{ lookup('env', 'VECTOR_AGGREGATOR') | length > 0 }}
1819
roleGroups:

0 commit comments

Comments
 (0)