changeset 768:a5a82d50c25e

Increased delay so that the test has more chances to pass. Wow, Fedora IS slow to create threads...
author Sebastien Decugis <sdecugis@nict.go.jp>
date Mon, 24 Oct 2011 22:14:33 +0200
parents c47c16436f71
children 99136ec7d9d4
files tests/testfifo.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/tests/testfifo.c	Sun Oct 23 23:43:32 2011 +0200
+++ b/tests/testfifo.c	Mon Oct 24 22:14:33 2011 +0200
@@ -476,7 +476,7 @@
 		
 		CHECK( 0, pthread_create( &th, NULL, test_fct2, &td ) );
 		
-		usleep(1000); /* 1 millisec */
+		usleep(100000); /* 100 millisec */
 		
 		CHECK( 10, iter );
 		
@@ -484,7 +484,7 @@
 		CHECK( 0, *item);
 		free(item);
 		
-		usleep(1000); /* 1 millisec */
+		usleep(100000); /* 100 millisec */
 		
 		CHECK( 11, iter );
 		
@@ -494,7 +494,7 @@
 			free(item);
 		}
 		
-		usleep(1000); /* 1 millisec */
+		usleep(100000); /* 100 millisec */
 		
 		CHECK( 14, iter );
 		
"Welcome to our mercurial repository"