]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
tests/qa - fix mimic subset for nightlies 21931/head
authorYuri Weinstein <yweinste@redhat.com>
Thu, 10 May 2018 14:39:51 +0000 (07:39 -0700)
committerYuri Weinstein <yweinste@redhat.com>
Thu, 10 May 2018 14:39:51 +0000 (07:39 -0700)
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
qa/machine_types/schedule_subset.sh

index b079e1cdad2366e7e20ae012436d69d131006633..005d0dcc427cd1bfe7f2783dd50b8891aa513ee1 100755 (executable)
@@ -40,7 +40,10 @@ elif [ $2 = "kraken" ] ; then
 elif [ $2 = "luminous" ] ; then
         # run luminous branch with /999 jobs
         teuthology-suite -v -c $2 -m $3 -k $6 -s $4 --subset $(echo "(($(date +%U) % 4) * 7) + $1" | bc)/999 -e $5 $7
+elif [ $2 = "mimic" ] ; then
+        # run mimic branch with /999 jobs
+        teuthology-suite -v -c $2 -m $3 -k $6 -s $4 --subset $(echo "(($(date +%U) % 4) * 7) + $1" | bc)/999 -e $5 $7
 else
         # 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)/28 -e $5 $7
+        teuthology-suite -v -c $2 -m $3 -k $6 -s $4 --subset $(echo "(($(date +%U) % 4) * 7) + $1" | bc)/999 -e $5 $7
 fi