From: Sebastian Wagner Date: Tue, 26 Jan 2021 12:02:35 +0000 (+0100) Subject: teuthology-suite: Add job count to priority error msg. X-Git-Tag: 1.1.0~11^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=4ded36bfb5233e362f2ffa837e928836da9f9b29;p=teuthology.git teuthology-suite: Add job count to priority error msg. Don't let users guess the job count. Signed-off-by: Sebastian Wagner --- diff --git a/teuthology/suite/run.py b/teuthology/suite/run.py index 3b64185ee9..11f5166f15 100644 --- a/teuthology/suite/run.py +++ b/teuthology/suite/run.py @@ -505,7 +505,9 @@ class Run(object): def check_priority(self, jobs_to_schedule): priority = self.args.priority - msg='''Use the following testing priority + msg=f'''Unable to schedule {jobs_to_schedule} jobs with priority {priority}. + +Use the following testing priority 10 to 49: Tests which are urgent and blocking other important development. 50 to 74: Testing a particular feature/fix with less than 25 jobs and can also be used for urgent release testing. 75 to 99: Tech Leads usually schedule integration tests with this priority to verify pull requests against master.