From 8db899ebd50fe782f805c93f8b15d14bfcc259fb Mon Sep 17 00:00:00 2001 From: Marco Castelluccio Date: Thu, 2 Jul 2020 17:58:48 +0200 Subject: [PATCH] Regenerate results which don't contain the fix revision --- scripts/test_scheduling_history_retriever.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/test_scheduling_history_retriever.py b/scripts/test_scheduling_history_retriever.py index 0aaf474e..b0dc3435 100644 --- a/scripts/test_scheduling_history_retriever.py +++ b/scripts/test_scheduling_history_retriever.py @@ -86,6 +86,11 @@ class Retriever(object): cached = None reretrieve -= 1 + # Regenerate results which don't contain the fix revision. + elif len(cached) == 4: + cached = None + reretrieve -= 1 + if cached: num_cached += 1 value, mozci_version = cached