[glib/glib-2-28] Make timeout test less likely to fail
- From: Matthias Clasen <matthiasc src gnome org>
 
- To: commits-list gnome org
 
- Cc: 
 
- Subject: [glib/glib-2-28] Make timeout test less likely to fail
 
- Date: Mon,  7 Mar 2011 18:43:30 +0000 (UTC)
 
commit 90b18cdacdcf037f3c898cbf7d615d028b42e6e4
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Mar 7 13:42:33 2011 -0500
    Make timeout test less likely to fail
 glib/tests/timeout.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/glib/tests/timeout.c b/glib/tests/timeout.c
index 9354cd7..63b7503 100644
--- a/glib/tests/timeout.c
+++ b/glib/tests/timeout.c
@@ -63,7 +63,7 @@ test_func (gpointer data)
    */
   usleep (count * 10000);
 
-  if (count < 10)
+  if (count < 8)
     return TRUE;
 
   g_main_loop_quit (loop);
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]