Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
navrang9 committed Jun 25, 2024
2 parents f4bc59b + 5c2c339 commit bc55d3e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,14 +54,8 @@ jobs:
run: |
cd tests_integration
echo "Running tests..."
DOCKID=$(docker ps -q --filter "name=tests_integration-airflow-worker-1")
docker exec -i $DOCKID /bin/bash <<-EOF
airflow dags test airflow_test_success_dag > logs/integration_test_airflow_test_success_dag.log
airflow dags test airflow_test_aborted_dag >> logs/integration_test_airflow_test_aborted_dag.log
airflow dags test airflow_test_data_error_dag >> logs/integration_test_airflow_test_data_error_dag.log
airflow dags test airflow_test_timeout_dag >> logs/integration_test_airflow_test_timeout_dag.log
exit 0
EOF
pip install pytest
pytest integration_test.py -s
- name: Archive production artifacts
if: always()
Expand Down
2 changes: 1 addition & 1 deletion tests_integration/dags/airflow_test_timeout_dag.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
task_id='t1',
tm1_conn_id='tm1_conn',
process_name='airflow_test_timeout',
timeout=20,
timeout=3,
cancel_at_timeout=True
)

Expand Down

0 comments on commit bc55d3e

Please sign in to comment.