Home
last modified time | relevance | path

Searched refs:jobs (Results 1 – 14 of 14) sorted by relevance

/test/vti/test_serving/gae/webapp/src/endpoint/
Djob_queue_test.py96 self.assertEqual(len(response.jobs), 1)
100 getattr(response.jobs[0], key),
104 getattr(response.jobs[0], key), test_values[key])
113 hostname=response.jobs[0].hostname,
114 manifest_branch=response.jobs[0].manifest_branch,
115 build_target=response.jobs[0].build_target,
116 test_name=response.jobs[0].test_name,
117 serial=response.jobs[0].serial,
118 status=response.jobs[0].status,
125 jobs = model.JobModel.query().fetch()
[all …]
Djob_queue.py79 jobs=[job_message])
82 return_code=model.ReturnCodeMessage.FAIL, jobs=[])
175 jobs=[job_message])
178 return_code=model.ReturnCodeMessage.FAIL, jobs=[])
192 return model.JobResponseMessage(jobs=return_list, has_next=more)
/test/vti/test_serving/gae/webapp/src/scheduler/
Dschedule_worker_test.py159 jobs = model.JobModel.query().fetch()
160 self.assertEqual(jobs[0].test_name, high_priority_schedule_test_name)
171 jobs = model.JobModel.query().fetch()
172 jobs.sort(key=lambda x: x.timestamp, reverse=True) # latest first
173 self.assertEqual(jobs[0].test_name, high_priority_schedule_test_name)
189 jobs = model.JobModel.query().fetch()
190 jobs.sort(key=lambda x: x.timestamp, reverse=True) # latest first
191 self.assertEqual(jobs[0].test_name, medium_priority_schedule_test_name)
254 jobs = model.JobModel.query().fetch()
256 any([job.test_name == schedule2_h.test_name for job in jobs]))
[all …]
Djob_heartbeat_test.py85 jobs = model.JobModel.query().fetch()
86 self.assertEqual(2, len(jobs))
89 jobs[0].status = Status.JOB_STATUS_DICT["leased"]
90 jobs[0].timestamp = (datetime.datetime.now() - datetime.timedelta(
92 jobs[0].heartbeat_stamp = (
95 jobs[0].put()
98 jobs[1].status = Status.JOB_STATUS_DICT["leased"]
99 jobs[1].timestamp = (datetime.datetime.now() - datetime.timedelta(
101 jobs[1].heartbeat_stamp = (
104 jobs[1].put()
[all …]
Djob_heartbeat.py49 jobs = job_query.fetch()
52 for job in jobs:
/test/vti/test_serving/gae/frontend/src/app/menu/job/
Djob.component.ts123 if (response.jobs) {
124 length = response.jobs.length;
149 this.dataSource.data = response.jobs;
173 const stats_72hrs = this.buildStatisticsData('72 Hours', response.jobs);
174 …const jobs_24hrs = (response.jobs == null || response.jobs.length === 0) ? undefined : response.jo…
184 buildStatisticsData(title, jobs) {
185 if (jobs == null || jobs.length === 0) {
190 created: jobs.length,
191 …completed: jobs.filter(job => job.status != null && Number(job.status) === JobStatus.Complete).len…
192 running: jobs.filter(job => job.status != null &&
[all …]
/test/vti/test_serving/gae/webapp/src/utils/
Dmodel_util_test.py67 jobs = model.JobModel.query().fetch()
68 self.assertEqual(1, len(jobs))
71 job = jobs[0]
88 jobs = model.JobModel.query().fetch()
89 for job in jobs:
107 jobs = model.JobModel.query().fetch()
108 self.assertEqual(2 + num, len(jobs))
144 jobs = model.JobModel.query().fetch()
145 self.assertEqual(3, len(jobs))
147 for job in jobs:
[all …]
Demail_util.py100 def send_job_notification(jobs): argument
106 if not jobs:
108 if type(jobs) is not list:
109 jobs = [jobs]
113 for job in jobs:
/test/vti/test_serving/gae/webapp/src/tasks/
Dindexing_test.py78 jobs = model.JobModel.query().fetch()
79 self.assertEqual(1, len(jobs))
82 jobs = model.JobModel.query().fetch()
83 for job in jobs:
90 jobs = model.JobModel.query().fetch()
91 for job in jobs:
151 jobs = model.JobModel.query().fetch()
152 self.assertEqual(10, len(jobs))
155 jobs = model.JobModel.query().fetch()
156 for job in jobs:
[all …]
/test/framework/harnesses/host_controller/vti_interface/
Dvti_endpoint_client.py285 jobs = response_json["jobs"]
286 if jobs and len(jobs) > 0:
287 for job in jobs:
/test/vti/test_serving/gae/frontend/src/app/model/
Djob_wrapper.ts19 jobs: Job[]; property
/test/vti/test_serving/gae/webapp/src/testing/
Dunittest_base.py324 jobs = model.JobModel.query().fetch()
326 for job in jobs:
/test/framework/harnesses/host_controller/
Dconsole.py854 jobs = []
864 jobs.append(p)
866 for job in jobs:
/test/vti/test_serving/gae/webapp/src/proto/
Dmodel.py376 jobs = messages.MessageField(JobMessage, 2, repeated=True) variable in JobLeaseResponse
415 jobs = messages.MessageField(JobMessage, 1, repeated=True) variable in JobResponseMessage