[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r11106 - gnunet/src/hostlist
From: |
gnunet |
Subject: |
[GNUnet-SVN] r11106 - gnunet/src/hostlist |
Date: |
Wed, 28 Apr 2010 17:20:14 +0200 |
Author: wachs
Date: 2010-04-28 17:20:14 +0200 (Wed, 28 Apr 2010)
New Revision: 11106
Modified:
gnunet/src/hostlist/test_gnunet_daemon_hostlist_learning.c
Log:
changed to work better on slow machines
Modified: gnunet/src/hostlist/test_gnunet_daemon_hostlist_learning.c
===================================================================
--- gnunet/src/hostlist/test_gnunet_daemon_hostlist_learning.c 2010-04-28
15:09:54 UTC (rev 11105)
+++ gnunet/src/hostlist/test_gnunet_daemon_hostlist_learning.c 2010-04-28
15:20:14 UTC (rev 11106)
@@ -38,7 +38,7 @@
/**
* How long until wait until testcases fails
*/
-#define TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 60)
+#define TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 240)
#define CHECK_INTERVALL GNUNET_TIME_relative_multiply
(GNUNET_TIME_UNIT_SECONDS, 1)
static int timeout;
@@ -410,10 +410,7 @@
learned_hostlist_downloaded = GNUNET_NO;
sched = s;
- timeout_task = GNUNET_SCHEDULER_add_delayed (sched,
- TIMEOUT,
- &timeout_error,
- NULL);
+
check_task = GNUNET_SCHEDULER_add_delayed (sched,
CHECK_INTERVALL,
&check_statistics,
@@ -421,6 +418,10 @@
setup_adv_peer (&adv_peer, "test_learning_adv_peer.conf");
setup_learn_peer (&learn_peer, "test_learning_learn_peer.conf");
+ timeout_task = GNUNET_SCHEDULER_add_delayed (sched,
+ TIMEOUT,
+ &timeout_error,
+ NULL);
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r11106 - gnunet/src/hostlist,
gnunet <=