[pypy-commit] stmgc default: Pass another iteration

arigo noreply at buildbot.pypy.org
Wed Jun 12 23:02:04 CEST 2013


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r108:bb408c71bf7f
Date: 2013-06-12 23:00 +0200
http://bitbucket.org/pypy/stmgc/changeset/bb408c71bf7f/

Log:	Pass another iteration

diff --git a/c4/test/test_random.py b/c4/test/test_random.py
--- a/c4/test/test_random.py
+++ b/c4/test/test_random.py
@@ -154,6 +154,7 @@
             except (model.Deleted, model.Conflict):
                 # abort! try to reproduce with C code
                 self.expected_abort()
+                lib.stm_clear_read_cache()
                 lib.stm_read_barrier(p.ptr)          # should abort
                 raise MissingAbort
 
@@ -480,5 +481,5 @@
 
 def test_more_multi_thread():
     #py.test.skip("more random tests")
-    for i in range(7, 1000):
+    for i in range(9, 1000):
         yield test_multi_thread, i


More information about the pypy-commit mailing list