[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r13486 - gnunet/src/hostlist
From: |
gnunet |
Subject: |
[GNUnet-SVN] r13486 - gnunet/src/hostlist |
Date: |
Tue, 2 Nov 2010 10:59:08 +0100 |
Author: grothoff
Date: 2010-11-02 10:59:08 +0100 (Tue, 02 Nov 2010)
New Revision: 13486
Modified:
gnunet/src/hostlist/test_gnunet_daemon_hostlist_learning.c
gnunet/src/hostlist/test_gnunet_daemon_hostlist_peer1.conf
gnunet/src/hostlist/test_gnunet_daemon_hostlist_peer2.conf
gnunet/src/hostlist/test_learning_adv_peer.conf
gnunet/src/hostlist/test_learning_learn_peer.conf
Log:
fix DHT start, be less verbose
Modified: gnunet/src/hostlist/test_gnunet_daemon_hostlist_learning.c
===================================================================
--- gnunet/src/hostlist/test_gnunet_daemon_hostlist_learning.c 2010-11-01
22:44:28 UTC (rev 13485)
+++ gnunet/src/hostlist/test_gnunet_daemon_hostlist_learning.c 2010-11-02
09:59:08 UTC (rev 13486)
@@ -30,30 +30,37 @@
#include "gnunet_resolver_service.h"
#include "gnunet_statistics_service.h"
-#define VERBOSE GNUNET_YES
+#define VERBOSE GNUNET_NO
#define START_ARM GNUNET_YES
+
#define MAX_URL_LEN 1000
/**
* How long until wait until testcases fails
*/
#define TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 180)
+
#define CHECK_INTERVALL GNUNET_TIME_relative_multiply
(GNUNET_TIME_UNIT_SECONDS, 1)
static int timeout;
+
static int adv_sent;
+
static int adv_arrived;
static int learned_hostlist_saved;
+
static int learned_hostlist_downloaded;
static char * current_adv_uri;
static const struct GNUNET_CONFIGURATION_Handle *cfg;
+
static struct GNUNET_SCHEDULER_Handle *sched;
static GNUNET_SCHEDULER_TaskIdentifier timeout_task;
+
static GNUNET_SCHEDULER_TaskIdentifier check_task;
struct PeerContext
@@ -73,9 +80,12 @@
static struct PeerContext learn_peer;
static struct GNUNET_STATISTICS_GetHandle * download_stats;
+
static struct GNUNET_STATISTICS_GetHandle * urisrecv_stat;
+
static struct GNUNET_STATISTICS_GetHandle * advsent_stat;
+
static void shutdown_testcase()
{
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Shutdown testcase....\n");
@@ -517,4 +527,4 @@
return ret;
}
-/* end of test_gnunet_daemon_hostlist.c */
+/* end of test_gnunet_daemon_hostlist_learning.c */
Modified: gnunet/src/hostlist/test_gnunet_daemon_hostlist_peer1.conf
===================================================================
--- gnunet/src/hostlist/test_gnunet_daemon_hostlist_peer1.conf 2010-11-01
22:44:28 UTC (rev 13485)
+++ gnunet/src/hostlist/test_gnunet_daemon_hostlist_peer1.conf 2010-11-02
09:59:08 UTC (rev 13486)
@@ -61,3 +61,6 @@
[datastore]
AUTOSTART = NO
+[dht]
+AUTOSTART = NO
+
Modified: gnunet/src/hostlist/test_gnunet_daemon_hostlist_peer2.conf
===================================================================
--- gnunet/src/hostlist/test_gnunet_daemon_hostlist_peer2.conf 2010-11-01
22:44:28 UTC (rev 13485)
+++ gnunet/src/hostlist/test_gnunet_daemon_hostlist_peer2.conf 2010-11-02
09:59:08 UTC (rev 13486)
@@ -59,3 +59,6 @@
[datastore]
AUTOSTART = NO
+
+[dht]
+AUTOSTART = NO
\ No newline at end of file
Modified: gnunet/src/hostlist/test_learning_adv_peer.conf
===================================================================
--- gnunet/src/hostlist/test_learning_adv_peer.conf 2010-11-01 22:44:28 UTC
(rev 13485)
+++ gnunet/src/hostlist/test_learning_adv_peer.conf 2010-11-02 09:59:08 UTC
(rev 13486)
@@ -58,3 +58,6 @@
[datastore]
AUTOSTART = NO
+
+[dht]
+AUTOSTART = NO
Modified: gnunet/src/hostlist/test_learning_learn_peer.conf
===================================================================
--- gnunet/src/hostlist/test_learning_learn_peer.conf 2010-11-01 22:44:28 UTC
(rev 13485)
+++ gnunet/src/hostlist/test_learning_learn_peer.conf 2010-11-02 09:59:08 UTC
(rev 13486)
@@ -60,3 +60,6 @@
[datastore]
AUTOSTART = NO
+
+[dht]
+AUTOSTART = NO
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r13486 - gnunet/src/hostlist,
gnunet <=