equal
deleted
inserted
replaced
90 } |
90 } |
91 |
91 |
92 queryGen = lambda: job_logic.getQueryForFields(filter=filter) |
92 queryGen = lambda: job_logic.getQueryForFields(filter=filter) |
93 jobs = job_logic.entityIterator(queryGen, batchSize=10) |
93 jobs = job_logic.entityIterator(queryGen, batchSize=10) |
94 |
94 |
95 good = True |
|
96 retry_jobs = [] |
95 retry_jobs = [] |
97 |
96 |
98 for job in handler.iterate(jobs, retry_jobs): |
97 for job in handler.iterate(jobs, retry_jobs): |
99 if random.randint(0, 3) > 0: |
98 if random.randint(0, 3) > 0: |
100 retry_jobs.append(job) |
99 retry_jobs.append(job) |