code: def test_priortity_scheduler_noop_command(
      managed_cluster_priority_scheduler: ManagedCluster,
  ) -> None:
      managed_cluster_priority_scheduler.ensure_agent_ok()
      assert str(conf.MASTER_PORT) == "8082"
      # without slots (and default priority)
      command_id = run_command(slots=0)
      wait_for_command_state(command_id, "TERMINATED", 40)
      assert_command_succeeded(command_id)
      # with slots (and default priority)
      command_id = run_command(slots=1)
      wait_for_command_state(command_id, "TERMINATED", 60)
      assert_command_succeeded(command_id)
      # explicity priority
      command_id = run_command_set_priority(slots=0, priority=60)
      wait_for_command_state(command_id, "TERMINATED", 60)
      assert_command_succeeded(command_id)
  
file_path: determined/e2e_tests/tests/cluster/test_priority_scheduler.py
imports: import subprocess
  import pytest
  from tests import config
  from tests import experiment
  from .managed_cluster import ManagedCluster
  from .utils import assert_command_succeeded, run_command, run_command_set_priority, wait_for_command_state
label_desc: Use image node_id 2 for calling a global function with example usage: test_priortity_scheduler_noop_command(managed_cluster_priority_scheduler) without return types