bugraoz93 commented on PR #41067:
URL: https://github.com/apache/airflow/pull/41067#issuecomment-2278158246

   > Sometimes some tests are passing individually but not when run in parallel 
with others (because of shared resources, others conflicts ...). It might be 
the reason (or might be not)
   
   Yes, exactly, that's why I used the full parameters that we are using in the 
CI/CD steps. All the steps are using `--with-db-init` parameters. I thought 
this would separate the `pytest` commands due to initialising the db again for 
each command in the same CI/CD step. I am also suspecting similarly, even 
though the db initialises again, I think we have some remaining resources that 
are affecting the tests.
   For example, while testing the providers, I have used this one which is just 
copy and paste from the job
   
   `tests/providers --ignore=tests/providers/amazon 
--ignore=tests/providers/google --verbosity=0 --strict-markers --durations=100 
--maxfail=1000 --color=yes 
--junitxml=/files/test_result-providers_-amazon_google-postgres.xml 
--timeouts-order moi --setup-timeout=60 --execution-timeout=60 
--teardown-timeout=60 --disable-warnings -rfEX --run-db-tests-only 
--ignore=tests/system --ignore=tests/integration 
--warning-output-path=/files/warnings-providers_-amazon_google-postgres.txt 
--ignore=helm_tests --with-db-init --no-cov`


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to