]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
openstack: teuthology for 100 or more need 32GB 720/head
authorLoic Dachary <ldachary@redhat.com>
Tue, 10 Nov 2015 16:21:23 +0000 (17:21 +0100)
committerLoic Dachary <ldachary@redhat.com>
Thu, 26 Nov 2015 10:34:31 +0000 (11:34 +0100)
Signed-off-by: Loic Dachary <loic@dachary.org>
teuthology/openstack/__init__.py

index 36ab6826508d8dcaca3d02fb2d2ffac147ede480..3a0b032ddf4b22fbfa7bc3b1d80afa676fcf157e 100644 (file)
@@ -509,11 +509,11 @@ ssh access           : ssh {identity}{username}@{ip} # logs in /usr/share/nginx/
             'ram': 1024, # MB
             'cpus': 1,
         }
-        if self.args.simultaneous_jobs > 100:
+        if self.args.simultaneous_jobs >= 100:
             hint['ram'] = 30000 # MB
-        elif self.args.simultaneous_jobs > 25:
-            hint['ram'] = 7000 # MB
-        elif self.args.simultaneous_jobs > 10:
+        elif self.args.simultaneous_jobs >= 25:
+            hint['ram'] = 8000 # MB
+        elif self.args.simultaneous_jobs >= 10:
             hint['ram'] = 4000 # MB
 
         select = None