code: def setUp(self):
      copyfile(self.ori_db, self.bk_db)
      self.connector = get_default_connector(self.auppath)
      self.rm = SSHResourceManager(
          self.connector,
          self.n_parallel,
          track_intermediate_results=True,
          early_stop={"aup_policy": "median", "aup_policy_steps": 2},
          eid=1,
          auppath=self.auppath,
      )
      self.server = mockssh.Server(self.users).__enter__()
      self.rm.mapping[1] = (
          "mockuser@127.0.0.1:"
          + str(self.server.port)
          + " "
          + self.pkey
      )
      self.val = 0
  
imports: import unittest
  import mockssh
  import tempfile
  import pdb
  from shutil import copyfile
  from time import sleep
  from six import PY2
  import pkg_resources
  from aup.EE.Resource.SSHResourceManager import *
  from aup.EE.Job import Job
  from aup import BasicConfig
  from aup.Proposer import RandomProposer
  from aup.utils import get_default_connector
  from threading import Lock
label_desc: Use image node_id 1 for calling the SSHResourceManagerEarlyStopTestCase obj's underlying member method code with example usage: obj.setUp() without return types