def METHOD_NAME(self):
    self.builder()
    self.client.reindex.return_value = testvars.generic_task
    self.client.tasks.get.side_effect = testvars.fake_fail
    # After building ilo, we need a different return value
    self.client.indices.get_settings.return_value = {'other_index':{}}
    rio = Reindex(self.ilo, testvars.reindex_basic)
    self.assertRaises(CuratorException, rio.do_action)