def METHOD_NAME(self):
    with environ({"MAX_RUNS": "10", "DEQUEUE_INTERVAL": "7"}):
        with instance_for_test(
            overrides={
                "run_coordinator": {
                    "module": "dagster._core.run_coordinator",
                    "class": "QueuedRunCoordinator",
                    "config": {
                        "max_concurrent_runs": {
                            "env": "MAX_RUNS",
                        },
                        "tag_concurrency_limits": [
                            {
                                "key": "foo",
                                "value": {"applyLimitPerUniqueValue": True},
                                "limit": 3,
                            },
                            {"key": "backfill", "limit": 2},
                        ],
                        "dequeue_interval_seconds": {
                            "env": "DEQUEUE_INTERVAL",
                        },
                    },
                }
            }
        ) as _:
            pass