From 4ded36bfb5233e362f2ffa837e928836da9f9b29 Mon Sep 17 00:00:00 2001 From: Sebastian Wagner Date: Tue, 26 Jan 2021 13:02:35 +0100 Subject: [PATCH] teuthology-suite: Add job count to priority error msg. Don't let users guess the job count. Signed-off-by: Sebastian Wagner --- teuthology/suite/run.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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. -- 2.39.5