Lines Matching refs:hqe
153 hqe = self.db_helper.get_hqes(job=job1.id)[0]
161 tasks[0].queue_entry_id == hqe.id)
164 self.db_helper.update_hqe(hqe.id, active=True)
200 hqe = self.db_helper.get_hqes(job_id=job.id)[0]
201 self.assertTrue(hqe.active and hqe.host_id == host.id and
202 hqe.status == models.HostQueueEntry.Status.QUEUED)
203 task = self.db_helper.get_tasks(queue_entry_id=hqe.id)[0]
250 hqe = self.db_helper.get_hqes(job_id=job.id)[0]
255 self.assertTrue(len(tasks) == 1 and tasks[0].queue_entry_id == hqe.id)
265 self.db_helper.update_hqe(hqe.id, active=False)
331 hqe = scheduler_models.HostQueueEntry.fetch(where='job_id=%s',
334 recorder.record_assignment(hqe)
335 return hqe
345 hqe = scheduler_models.HostQueueEntry.fetch(where='job_id=%s',
348 hqe = self.assign_host_to_job(host1, jobs[0], r)
352 r.record_assignment(hqe)