code: def test_randint_execution(setup):
      arr = tensor.random.randint(0, 2, size=(10, 30), chunk_size=8)
  
      res = arr.execute().fetch()
      assert res.shape == (10, 30)
      np.testing.assert_array_less(arr, 2)
      np.testing.assert_array_less(-1, res)
  
file_path: mars/mars/tensor/random/tests/test_random_execution.py
imports: from collections import namedtuple
  import numpy
  import pytest
  from ....None import tensor
  from ....core import tile
  from ....lib.sparse.core import issparse
  from ...datasource import tensor
label_desc: Use image node_id 2 for calling a global function with example usage: test_randint_execution(setup) without return types