Utest: Give the test a little more time to complete
authorKevin Klues <klueska@cs.berkeley.edu>
Wed, 28 May 2014 02:37:50 +0000 (19:37 -0700)
committerKevin Klues <klueska@cs.berkeley.edu>
Wed, 28 May 2014 02:37:50 +0000 (19:37 -0700)
user/utest/signal.c

index 81a9528..f641658 100644 (file)
@@ -14,7 +14,7 @@ bool test_sigmask(void) {
                sigemptyset(&s);
                sigaddset(&s, SIGUSR2);
                pthread_sigmask(SIG_BLOCK, &s, NULL);
                sigemptyset(&s);
                sigaddset(&s, SIGUSR2);
                pthread_sigmask(SIG_BLOCK, &s, NULL);
-               for (int i=0; i<1000; i++)
+               for (int i=0; i<100000; i++)
                        pthread_yield();
        }
        void signal_handler(int signo)
                        pthread_yield();
        }
        void signal_handler(int signo)