sjyangkevin commented on PR #63463:
URL: https://github.com/apache/airflow/pull/63463#issuecomment-4068056585

   > > Thanks and agree, I use breeze to run only test for event page and for 
all browser.
   > 
   > Running tests across multiple browsers simultaneously can cause race 
conditions. In particular, when several browsers check the state of the same 
Dag, it may lead to inconsistent results.
   > 
   > This is a known issue that we plan to address in the future. If you're 
interested, exploring possible solutions would be a great contribution :)
   
   Yes. I think I encountered similar issues when testing a change to audit 
log. Since we are testing multiple browsers against one Airflow server. Each 
browser beforeAll runs the DAGs multiple times, and cause the tests run against 
a changing set of data (when some tests are running, DAG is still running, and 
inserting records, etc.)
   
   I feel there are multiple ways might be feasible, and happy to discuss in 
further details.
   * run browser tests in sequence
   * move trigger DAG Run into global setup, run before all browsers start, and 
we can test a static set of data


-- 
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