### Body

Recently, [this test](https://github.com/apache/airflow/blob/9de301da2a44385f57be5407e80e16ee376f3d39/tests/cli/commands/test_internal_api_command.py#L134-L137) began to failed with timeout error and it has affected all tests in single CI run. As temporary solution this test was marked as `quarantined`.

We should figure out why it happen and try to resolve it.



### Committer

- [X] I acknowledge that I am a maintainer/committer of the Apache Airflow project.
@classmethod
    def setup_class(cls):
        cls.parser = cli_parser.get_parser()
    def setup_method(self):
        self.children = mock.MagicMock()
        self.child = mock.MagicMock()
        self.process = mock.MagicMock()
        self.monitor = GunicornMonitor(
            gunicorn_master_pid=1,
            num_workers_expected=4,
            master_timeout=60,
            worker_refresh_interval=60,
            worker_refresh_batch_size=2,
            reload_on_plugin_change=True,
        )
    def test_ready_prefix_on_cmdline(self):