test.py: limit the tests to run on 2 shards with 4GB of memory

Signed-off-by: Vlad Zolotarov <vladz@scylladb.com>
(cherry picked from commit 57a6ed5aaa)
This commit is contained in:
Vlad Zolotarov
2017-12-07 20:22:12 -05:00
committed by Avi Kivity
parent c5718bf620
commit a75e1632c8

View File

@@ -148,9 +148,9 @@ if __name__ == "__main__":
for mode in modes_to_run:
prefix = os.path.join('build', mode, 'tests')
for test in other_tests:
test_to_run.append((os.path.join(prefix, test), 'other'))
test_to_run.append((os.path.join(prefix, test), 'other', '-c2 -m4G'.split()))
for test in boost_tests:
test_to_run.append((os.path.join(prefix, test), 'boost'))
test_to_run.append((os.path.join(prefix, test), 'boost', '-c2 -m4G'.split()))
if 'release' in modes_to_run:
test_to_run.append(('build/release/tests/lsa_async_eviction_test', 'other',