code: def test_workflow_concurrency_limit_reinit(shutdown_only):
      workflow.init(max_running_workflows=5, max_pending_workflows=6)
      workflow.init(max_running_workflows=5, max_pending_workflows=6)
      with pytest.raises(ValueError):
          workflow.init(
              max_running_workflows=7, max_pending_workflows=8
          )
      workflow.init()
      workflow.init(
          max_running_workflows=None, max_pending_workflows=None
      )
  
file_path: ray/python/ray/workflow/tests/test_workflow_queuing.py
imports: import pytest
  import ray
  from ray import workflow
  from ray.tests.conftest import *
label_desc: Use image node_id 2 for calling a global function with example usage: test_workflow_concurrency_limit_reinit(shutdown_only) without return types