code: def test_wait_reconstruction(shutdown_only):
      ray.init(num_cpus=1, object_store_memory=int(10**8))
  
      @ray.remote
      def f():
          return np.zeros(6 * 10**7, dtype=np.uint8)
  
      x_id = f.remote()
      ray.wait([x_id])
      ray.wait([f.remote()])
      assert not ray._private.worker.global_worker.core_worker.object_exists(
          x_id
      )
      ready_ids, _ = ray.wait([x_id])
      assert len(ready_ids) == 1
  
imports: import logging
  import os
  import pickle
  import socket
  import sys
  import time
  import numpy
  import pytest
  import ray
  import ray._private.utils
  import ray.cluster_utils
  import ray.util.accelerators
  from ray._private.test_utils import check_call_ray, wait_for_num_actors
  import setproctitle
label_desc: Use image node_id 6 for calling a global function with example usage: test_wait_reconstruction(shutdown_only) and returns: np