]> sourceware.org Git - bunsen.git/commitdiff
pipeline: we have new testrun sorting, we just need proper sorting
authorFrank Ch. Eigler <fche@redhat.com>
Thu, 19 Sep 2024 22:44:39 +0000 (18:44 -0400)
committerFrank Ch. Eigler <fche@redhat.com>
Thu, 19 Sep 2024 22:44:39 +0000 (18:44 -0400)
When things go pop, things are implicitly reversed.

bin/pipeline

index c1fa0d2789e05b77ae9dda501adc712039791e97..3f42661eae179453d22c7b99e654106c7a9db5b8 100755 (executable)
@@ -103,7 +103,7 @@ def find_delta_testruns() -> Tuple[Set[Any], Set[Any]]:
         old_testruns = set()
 
     # sort new_testruns so latest testruns get prioritized for processing
-    new_testruns = sorted(new_testruns, key=lambda tr: testrun_commit_dates.get(tr,0), reverse=True)
+    new_testruns = sorted(new_testruns, key=lambda tr: testrun_commit_dates.get(tr,0))
 
     logging.info('testruns new %d, old %d, dead %d',
                  len(new_testruns),
This page took 0.027888 seconds and 5 git commands to generate.