Commits

Brian Kearns committed 47b3810

demonstrate more consistently the intermittent failure in untranslated test_interrupt_main

Comments (0)

Files changed (1)

pypy/module/thread/test/test_thread.py

         # This is normally called by app_main.py
         signal.signal(signal.SIGINT, signal.default_int_handler)
 
-        thread.start_new_thread(f, ())
-        raises(KeyboardInterrupt, busy_wait)
+        for i in range(100):
+            thread.start_new_thread(f, ())
+            raises(KeyboardInterrupt, busy_wait)