]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/tests: reduce number of jobs for rados to 309 35029/head
authorYuri Weinstein <yweinste@redhat.com>
Tue, 12 May 2020 22:40:01 +0000 (15:40 -0700)
committerYuri Weinstein <yweinste@redhat.com>
Tue, 12 May 2020 22:40:01 +0000 (15:40 -0700)
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
qa/machine_types/schedule_subset.sh

index a709749ef1967e2a9d2785ae6b062dd676374b6f..82b3a3df00de0c3268fd36eabd34b203e066f98b 100755 (executable)
 # $6 - kernel (distro or testing)
 # $7 - filter out (this arg is to be at the end of the command line for now)
 
-## example #1 
+## example #1
 ## (date +%U) week number
 ## % 2 - mod 2 (e.g. 0,1,0,1 ...)
 ## * 7 -  multiplied by 7 (e.g. 0,7,0,7...)
 ## $1 day of the week (0-6)
 ## /14 for 2 weeks
 
-## example #2 
+## example #2
 ## (date +%U) week number
 ## % 4 - mod 4 (e.g. 0,1,2,3,0,1,2,3 ...)
 ## * 7 -  multiplied by 7 (e.g. 0,7,14,21,0,7,14,21...)
@@ -26,8 +26,8 @@
 
 echo "Scheduling " $2 " branch"
 if [ $2 = "master" ] ; then
-        # run master branch with --newest option looking for good sha1 7 builds back with /999 jobs
-        teuthology-suite -v -c $2 -m $3 -k $6 -s $4 --subset $(echo "(($(date +%U) % 4) * 7) + $1" | bc)/999 --newest 7 -e $5 $7
+        # run master branch with --newest option looking for good sha1 7 builds back with /9999 jobs
+        teuthology-suite -v -c $2 -m $3 -k $6 -s $4 --subset $(echo "(($(date +%U) % 4) * 7) + $1" | bc)/9999 --newest 7 -e $5 $7
 elif [ $2 = "hammer" ] ; then
         # run hammer branch with less jobs
         teuthology-suite -v -c $2 -m $3 -k $6 -s $4 --subset $(echo "(($(date +%U) % 4) * 7) + $1" | bc)/56 -t py2 -e $5 $7
@@ -49,6 +49,6 @@ elif [ $2 = "nautilus" ] ; then
 elif [ $2 = "octopus" ] ; then
         teuthology-suite -v -c $2 -m $3 -k $6 -s $4 --subset $(echo "(($(date +%U) % 4) * 7) + $1" | bc)/9999 -t py2 -e $5 $7
 else
-        # run NON master branches without --newest 
+        # run NON master branches without --newest
         teuthology-suite -v -c $2 -m $3 -k $6 -s $4 --subset $(echo "(($(date +%U) % 4) * 7) + $1" | bc)/999 -t py2 -e $5 $7
 fi