"""
        Ensure that DAGs are marked inactive when the file is parsed but the
        DagModel.last_parsed_time is not updated.
        """
        manager = DagFileProcessorManager(
            dag_directory="directory",
            max_runs=1,
            processor_timeout=timedelta(minutes=10),
            signal_conn=MagicMock(),
            dag_ids=[],
            pickle_dags=False,
            async_mode=True,
        )
        test_dag_path = str(TEST_DAG_FOLDER / "test_example_bash_operator.py")
        dagbag = DagBag(test_dag_path, read_dags_from_db=False, include_examples=False)
        with create_session() as session:
            
            dag = dagbag.get_dag("test_example_bash_operator")
            dag.last_parsed_time = timezone.utcnow()
            dag.sync_to_db()