Commit 0ce67403 authored by Sebastien Decugis's avatar Sebastien Decugis
Browse files

Increased delay so that the test has more chances to pass. Wow, Fedora IS slow to create threads...

parent f5b381ea
...@@ -476,7 +476,7 @@ int main(int argc, char *argv[]) ...@@ -476,7 +476,7 @@ int main(int argc, char *argv[])
CHECK( 0, pthread_create( &th, NULL, test_fct2, &td ) ); CHECK( 0, pthread_create( &th, NULL, test_fct2, &td ) );
usleep(1000); /* 1 millisec */ usleep(100000); /* 100 millisec */
CHECK( 10, iter ); CHECK( 10, iter );
...@@ -484,7 +484,7 @@ int main(int argc, char *argv[]) ...@@ -484,7 +484,7 @@ int main(int argc, char *argv[])
CHECK( 0, *item); CHECK( 0, *item);
free(item); free(item);
usleep(1000); /* 1 millisec */ usleep(100000); /* 100 millisec */
CHECK( 11, iter ); CHECK( 11, iter );
...@@ -494,7 +494,7 @@ int main(int argc, char *argv[]) ...@@ -494,7 +494,7 @@ int main(int argc, char *argv[])
free(item); free(item);
} }
usleep(1000); /* 1 millisec */ usleep(100000); /* 100 millisec */
CHECK( 14, iter ); CHECK( 14, iter );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment