code: def test_getting_and_putting(ray_start_sharded):
      for n in range(8):
          x = np.zeros(10**n)
  
          for _ in range(100):
              ray.put(x)
  
          x_id = ray.put(x)
          for _ in range(1000):
              ray.get(x_id)
  
      assert ray._private.services.remaining_processes_alive()
  
file_path: ray/python/ray/tests/test_stress_sharded.py
imports: import numpy
  import pytest
  import ray
label_desc: Use image node_id 4 for calling a global function with example usage: test_getting_and_putting(ray_start_sharded) without return types