]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
suite: fix num_jobs count
authorSage Weil <sage@inktank.com>
Tue, 17 Sep 2013 18:19:01 +0000 (11:19 -0700)
committerSage Weil <sage@inktank.com>
Tue, 1 Oct 2013 23:09:54 +0000 (16:09 -0700)
Signed-off-by: Sage Weil <sage@inktank.com>
teuthology/suite.py

index 3eb28d2c8efa5c52eb35b394676dc57879a292a3..d140882707d4f0c78825e611c3be0c1132b3bcc2 100644 (file)
@@ -126,7 +126,7 @@ combination, and will override anything in the suite.
         log.debug('Collection %s in %s' % (collection_name, collection))
         configs = [(combine_path(collection_name, item[0]), item[1]) for item in build_matrix(collection)]
         log.info('Collection %s in %s generated %d jobs' % (collection_name, collection, len(configs)))
-        num_jobs + len(configs)
+        num_jobs += len(configs)
 
         arch = get_arch(args.config)
         machine_type = get_machine_type(args.config)