summaryrefslogtreecommitdiffstatshomepage
path: root/tests/thread/mutate_instance.py
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2016-05-31 17:36:06 +0100
committerDamien George <damien.p.george@gmail.com>2016-06-28 11:28:52 +0100
commit8b9ddf403119100d6bbd4c6d77bd4a334032b893 (patch)
tree68b05c53e303a69fe052271ea390a8395ce07cb8 /tests/thread/mutate_instance.py
parent63d05228a3173f079ea0a8f4fb11baa442351065 (diff)
downloadmicropython-8b9ddf403119100d6bbd4c6d77bd4a334032b893.tar.gz
micropython-8b9ddf403119100d6bbd4c6d77bd4a334032b893.zip
tests/thread: Allow some tests to run on ports with not much heap.
Diffstat (limited to 'tests/thread/mutate_instance.py')
-rw-r--r--tests/thread/mutate_instance.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/thread/mutate_instance.py b/tests/thread/mutate_instance.py
index 449c9f0e0c..a1ae428b54 100644
--- a/tests/thread/mutate_instance.py
+++ b/tests/thread/mutate_instance.py
@@ -25,7 +25,7 @@ def th(n, lo, hi):
lock = _thread.allocate_lock()
n_repeat = 30
-n_range = 300
+n_range = 50 # 300 for stressful test (uses more heap)
n_thread = 4
n_finished = 0