You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2020/05/29 12:32:34 UTC

[GitHub] [airflow] kaxil commented on a change in pull request #9062: Allow testing any executor with scheduler_dag_execution_timing.py

kaxil commented on a change in pull request #9062:
URL: https://github.com/apache/airflow/pull/9062#discussion_r432450661



##########
File path: scripts/perf/scheduler_dag_execution_timing.py
##########
@@ -175,8 +180,13 @@ def create_dag_runs(dag, num_runs, session):
 
         Warning: this makes the scheduler do (slightly) less work so may skew your numbers. Use sparingly!
         ''')
+@click.option('--executor-class', default='MockExecutor',
+              help=textwrap.dedent('''
+          Dotted path Executor class to test, for example
+          'ariflow.executors.local_executor.LocalExecutor'. Defaults to MockExcutor which doesn't run tasks.

Review comment:
       ```suggestion
             'airflow.executors.local_executor.LocalExecutor'. Defaults to MockExcutor which doesn't run tasks.
   ```




----------------------------------------------------------------
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:
users@infra.apache.org