From: Alexis Laferrière Date: Mon, 21 May 2018 00:38:31 +0000 (-0400) Subject: tests: recurse less in test_catch_multi_threaded to avoid stack overflow X-Git-Url: http://nitlanguage.org tests: recurse less in test_catch_multi_threaded to avoid stack overflow Signed-off-by: Alexis Laferrière --- diff --git a/tests/sav/test_catch_multi_threaded.res b/tests/sav/test_catch_multi_threaded.res index 04f734e..bbe18c9 100644 --- a/tests/sav/test_catch_multi_threaded.res +++ b/tests/sav/test_catch_multi_threaded.res @@ -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 diff --git a/tests/test_catch_multi_threaded.nit b/tests/test_catch_multi_threaded.nit index 42795f4..dd52ec3 100644 --- a/tests/test_catch_multi_threaded.nit +++ b/tests/test_catch_multi_threaded.nit @@ -19,7 +19,7 @@ import pthreads class CatchThread super Thread - var x = 100000 + var x = 10000 var caught = 0 redef fun main do