code: def test_exit_only_no_over_retry(shutdown_only):
      """
      Sanity testing: only do exit-retry works
      """
      counter = Counter.remote()
      trouble_maker = TroubleMaker.options(max_restarts=2).remote()
      ray.get(
          trouble_maker.raise_or_exit.options(_max_retries=2).remote(
              counter, ["exit", "exit"]
          )
      ) == 2
      assert ray.get(counter.get_count.remote()) == 3
  
imports: import os
  import sys
  import pytest
  import ray
label_desc: Use image node_id 13 for calling a global function with example usage: test_exit_only_no_over_retry(shutdown_only) without return types