'Error case: CCI\'s status is always RUNNING(MSGID0608-E).'

@mock.patch.object(vsp_utils, 'DEFAULT_PROCESS_WAITTIME', 2)
@mock.patch.object(utils, 'brick_get_connector_properties', side_effect=_brick_get_connector_properties)
@mock.patch.object(vsp_utils, 'execute', side_effect=_execute)
@mock.patch.object(vsp_horcm, '_run_horcmgr', side_effect=_fake_run_horcmgr)
def test_do_setup_failed_to_horcmshutdown(self, _run_horcmgr, execute, brick_get_connector_properties):

    drv = vsp_iscsi.VSPISCSIDriver(configuration=self.configuration, db=db)
    self._setup_config()
    self.assertRaises(exception.VSPError, drv.do_setup, None)
