code: def test_grpc_message_size(shutdown_only):
      ray.init(num_cpus=1)
  
      @ray.remote
      def bar(*a):
          return
  
      # 50KiB, not enough to spill to plasma, but will be inlined.
      def f():
          return bytearray(50000)
  
      # Executes a 10MiB task spec
      ray.get(bar.remote(*[f() for _ in range(200)]))
  
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 6 for calling a global function with example usage: test_grpc_message_size(shutdown_only) and returns: bytearray