def setup(self): pybgsched.Block('TB-1', 512) pybgsched.Block('TB-2', 512) pybgsched.Block('TB-3', 512) self.test_blocks = {} self.test_blocks['TB-1'] = test_BGQBooter.TestBlock('TB-1') self.test_blocks['TB-2'] = test_BGQBooter.TestBlock('TB-2') self.test_blocks['TB-3'] = test_BGQBooter.TestBlock('TB-3') self.block_lock = threading.Lock() pybgsched.IOBlock('IO-1', 8) self.test_io_blocks = {} self.test_io_blocks['IO-1'] = test_BGQBooter.TestIOBlock('IO-1') self.booter = BGQBooter(self.test_blocks, self.block_lock) self.booter.restore_boot_id(1)
def setup(self): pybgsched.Block('TB-1', 512) self.test_blocks = {} self.test_blocks['TB-1'] = test_BGQBooter.TestBlock('TB-1') self.block_lock = threading.Lock()
def setup(self): pybgsched.Block('TB-1', 512) self.block_lock = threading.Lock()