tests: recurse less in test_catch_multi_threaded to avoid stack overflow
authorAlexis Laferrière <alexis.laf@xymus.net>
Mon, 21 May 2018 00:38:31 +0000 (20:38 -0400)
committerAlexis Laferrière <alexis.laf@xymus.net>
Mon, 21 May 2018 12:06:08 +0000 (08:06 -0400)
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

tests/sav/test_catch_multi_threaded.res
tests/test_catch_multi_threaded.nit

index 04f734e..bbe18c9 100644 (file)
@@ -1,10 +1,10 @@
-caught 100000 aborts
-caught 100000 aborts
-caught 100000 aborts
-caught 100000 aborts
-caught 100000 aborts
-caught 100000 aborts
-caught 100000 aborts
-caught 100000 aborts
-caught 100000 aborts
-caught 100000 aborts
+caught 10000 aborts
+caught 10000 aborts
+caught 10000 aborts
+caught 10000 aborts
+caught 10000 aborts
+caught 10000 aborts
+caught 10000 aborts
+caught 10000 aborts
+caught 10000 aborts
+caught 10000 aborts
index 42795f4..dd52ec3 100644 (file)
@@ -19,7 +19,7 @@ import pthreads
 class CatchThread
        super Thread
 
-       var x = 100000
+       var x = 10000
        var caught = 0
 
        redef fun main do