We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 897b946 + d8499b1 commit ba57d32Copy full SHA for ba57d32
1 file changed
queue_job/tests/common.py
@@ -227,12 +227,12 @@ def by_graph(job):
227
return job.graph_uuid or ""
228
229
sorted_jobs = sorted(self.enqueued_jobs, key=by_graph)
230
+ self.enqueued_jobs = []
231
for graph_uuid, jobs in groupby(sorted_jobs, key=by_graph):
232
if graph_uuid:
233
self._perform_graph_jobs(jobs)
234
else:
235
self._perform_single_jobs(jobs)
- self.enqueued_jobs = []
236
237
def _perform_single_jobs(self, jobs):
238
# we probably don't want to replicate a perfect order here, but at
0 commit comments