mik-laj commented on a change in pull request #7602: [AIRFLOW-6967] Add tests 
to avoid performance regression in DagFileProcessor
URL: https://github.com/apache/airflow/pull/7602#discussion_r389260207
 
 

 ##########
 File path: tests/jobs/test_scheduler_job.py
 ##########
 @@ -1059,6 +1067,112 @@ def test_process_file_should_failure_callback(self):
             os.remove(callback_file.name)
 
 
+class TestDagFileProcessorQueriesCount(unittest.TestCase):
 
 Review comment:
   Yes. These are very quick tests.  In the future, when we will work on tests 
that analyze complex cases, we can add markers and describe the principles on 
the basis of which we conclude that the test is a performance test. Then we 
will also have to think about the environment in which we want to run these 
tests and how often. These tests are very static tests and contain simple 
assertions for values.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to