Fix concurrency for docker-based tests on 140+GB memory machines

A prior change increased the suite concurrency for the
docker-based tests on machines with 140+GB of memory.
This new rung should also bump the parallel test
concurrency (i.e. for parallel EE tests). This sets
the parallel test concurrency to 12 for this rung
(which is what we use for the 95GB-140GB rung).

Testing:
 - Ran test-with-docker.py on a m5.12xlarge

Change-Id: Ib7299abd585da9ba1a838640dadc0bef9c72a39b
Reviewed-on: http://gerrit.cloudera.org:8080/16326
Reviewed-by: Laszlo Gaal <laszlo.gaal@cloudera.com>
Tested-by: Joe McDonnell <joemcdonnell@cloudera.com>
This commit is contained in:
Joe McDonnell
2020-08-09 19:38:42 -07:00
parent f95f7940e4
commit 19f16a0f48

View File

@@ -253,6 +253,7 @@ def _compute_defaults():
if total_memory_gb >= 140: if total_memory_gb >= 140:
suite_concurrency = 6 suite_concurrency = 6
memlimit_gb = 11 memlimit_gb = 11
parallel_test_concurrency = min(cpus, 12)
elif total_memory_gb >= 95: elif total_memory_gb >= 95:
suite_concurrency = 4 suite_concurrency = 4
memlimit_gb = 11 memlimit_gb = 11