From 628b93b79115aec96f5f4439f65e94a7e1ea1bab Mon Sep 17 00:00:00 2001 From: Ivo De Decker Date: Thu, 14 Nov 2019 11:12:38 +0000 Subject: [PATCH] Make adding a failing test a regression When there is no test in testing, and a failing test in unstable, don't allow the package to migrate. Doing so would make it instantly RC-buggy. Signed-off-by: Ivo De Decker --- britney2/policies/autopkgtest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/britney2/policies/autopkgtest.py b/britney2/policies/autopkgtest.py index 785a311..cbd0b0e 100644 --- a/britney2/policies/autopkgtest.py +++ b/britney2/policies/autopkgtest.py @@ -1080,7 +1080,7 @@ class AutopkgtestPolicy(BasePolicy): self.request_test_if_not_queued(src, arch, REF_TRIG) result = 'RUNNING-REFERENCE' else: - result = 'ALWAYSFAIL' + result = 'REGRESSION' else: result = 'REGRESSION' else: