code: def test_wait_timing(shutdown_only):
      ray.init(num_cpus=2)
  
      @ray.remote
      def f():
          time.sleep(1)
  
      future = f.remote()
  
      start = time.time()
      ready, not_ready = ray.wait([future], timeout=0.2)
      assert 0.2 < time.time() - start < 0.3
      assert len(ready) == 0
      assert len(not_ready) == 1
  
imports: import logging
  import os
  import pickle
  import random
  import sys
  import time
  import pytest
  import ray
  import ray.cluster_utils
  from ray._private.test_utils import SignalActor, client_test_enabled, get_error_message, run_string_as_driver
label_desc: Use image node_id 14 for calling a global function with example usage: test_wait_timing(shutdown_only) without return types