diff --git a/tests/templates/kuttl/orphaned-resources/02-install-hdfs.yaml.j2 b/tests/templates/kuttl/orphaned-resources/02-install-hdfs.yaml.j2 index a362f908..268716ac 100644 --- a/tests/templates/kuttl/orphaned-resources/02-install-hdfs.yaml.j2 +++ b/tests/templates/kuttl/orphaned-resources/02-install-hdfs.yaml.j2 @@ -20,6 +20,7 @@ spec: {% endif %} nameNodes: config: + gracefulShutdownTimeout: 1m logging: enableVectorAgent: {{ lookup('env', 'VECTOR_AGGREGATOR') | length > 0 }} roleGroups: @@ -27,6 +28,7 @@ spec: replicas: 2 dataNodes: config: + gracefulShutdownTimeout: 1m logging: enableVectorAgent: {{ lookup('env', 'VECTOR_AGGREGATOR') | length > 0 }} roleGroups: @@ -36,6 +38,7 @@ spec: replicas: 1 journalNodes: config: + gracefulShutdownTimeout: 1m logging: enableVectorAgent: {{ lookup('env', 'VECTOR_AGGREGATOR') | length > 0 }} roleGroups: diff --git a/tests/templates/kuttl/orphaned-resources/04-assert.yaml b/tests/templates/kuttl/orphaned-resources/04-assert.yaml index 2ec7d018..61ad0237 100644 --- a/tests/templates/kuttl/orphaned-resources/04-assert.yaml +++ b/tests/templates/kuttl/orphaned-resources/04-assert.yaml @@ -7,6 +7,9 @@ apiVersion: apps/v1 kind: StatefulSet metadata: name: test-hdfs-datanode-newrolegroup +status: + readyReplicas: 1 + replicas: 1 --- apiVersion: v1 kind: Pod diff --git a/tests/templates/kuttl/orphaned-resources/04-change-datanode-rolegroup.yaml.j2 b/tests/templates/kuttl/orphaned-resources/04-change-datanode-rolegroup.yaml.j2 index bd1de80e..f03dd3de 100644 --- a/tests/templates/kuttl/orphaned-resources/04-change-datanode-rolegroup.yaml.j2 +++ b/tests/templates/kuttl/orphaned-resources/04-change-datanode-rolegroup.yaml.j2 @@ -14,6 +14,7 @@ spec: pullPolicy: IfNotPresent dataNodes: config: + gracefulShutdownTimeout: 1m logging: enableVectorAgent: {{ lookup('env', 'VECTOR_AGGREGATOR') | length > 0 }} roleGroups: