code: def test_options_takes_precedence(shutdown_only):
      counter = Counter.remote()
      trouble_maker = TroubleMaker.remote()
      assert (
          ray.get(
              trouble_maker.may_raise_n_times.options(
                  _max_retries=10
              ).remote(counter, 10)
          )
          == 10
      )
      assert ray.get(counter.get_count.remote()) == 11
  
imports: import os
  import sys
  import pytest
  import ray
label_desc: Use image node_id 7 for calling a global function with example usage: test_options_takes_precedence(shutdown_only) without return types