code: def test_default_mode(self):
      self.add_master()
      self.add_worker(n_cpu=1)
      parl.connect("localhost:{}".format(self.port))
      actor = Actor()
      res = actor.add(10, 5).get()
      self.assertEqual(res, 15)
      with self.assertRaises(FutureFunctionError):
          res = actor.exit().get()
      with self.assertRaises(FutureFunctionError):
          future = actor.add(10, 5)
  
file_path: PARL/parl/remote/tests/actor_status_wait_mode_test.py
imports: import unittest
  import parl
  from parl.utils.test_utils import XparlTestCase
  import time
  from parl.remote.exceptions import RemoteError, FutureFunctionError
label_desc: Use image node_id 1 for calling the TestActorStatus obj's underlying member method code with example usage: obj.test_default_mode() without return types