diff options
author | Giampaolo Rodola <g.rodola@gmail.com> | 2020-05-13 16:52:12 +0200 |
---|---|---|
committer | Giampaolo Rodola <g.rodola@gmail.com> | 2020-05-13 16:52:12 +0200 |
commit | d8a1f34108e96a023446a2c9b609b22e3692916a (patch) | |
tree | e54c8ab25e8230fcd2108b4bb63011605a8192c1 | |
parent | 18e88998a5f25ab9335afbaacfa3db46287bfa1f (diff) | |
download | psutil-d8a1f34108e96a023446a2c9b609b22e3692916a.tar.gz |
have leak test use 3M instead of 70M to avoid swapping out on CI
-rwxr-xr-x | psutil/tests/test_testutils.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/psutil/tests/test_testutils.py b/psutil/tests/test_testutils.py index 1ceccbe2..b676b76b 100755 --- a/psutil/tests/test_testutils.py +++ b/psutil/tests/test_testutils.py @@ -369,8 +369,9 @@ class TestMemLeakClass(TestMemoryLeak): ls.append("x" * 24 * 1024) try: + # will consume around 3M in total self.assertRaisesRegex(AssertionError, "extra-mem", - self.execute, fun) + self.execute, fun, times=50, retries=2) finally: del ls |