Skip to content

Commit

Permalink
reduce gracefulShutdownTimeout to avoid test timeouts when scheduler …
Browse files Browse the repository at this point in the history
…is restarted (#346)
  • Loading branch information
maltesander authored Nov 21, 2023
1 parent 054a96b commit 6f51688
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/templates/kuttl/ldap/06-install-airflow-cluster.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,11 @@ commands:
{% endif %}
schedulers:
config:
# Sometimes the scheduler restarts randomly, which leads to timeouts in the LDAP celery integration test
# metrics check. The metrics check cannot connect because the scheduler is restarting / terminating.
# The metrics check python script runs a dag with every execution and therefore the scheduler can not
# shut down gracefully and must be killed by Kubernetes.
gracefulShutdownTimeout: 30s
logging:
enableVectorAgent: {{ lookup('env', 'VECTOR_AGGREGATOR') | length > 0 }}
roleGroups:
Expand Down

0 comments on commit 6f51688

Please sign in to comment.