fixes
authorChristian Grothoff <christian@grothoff.org>
Tue, 2 Feb 2010 12:06:23 +0000 (12:06 +0000)
committerChristian Grothoff <christian@grothoff.org>
Tue, 2 Feb 2010 12:06:23 +0000 (12:06 +0000)
src/core/test_core_api.c
src/core/test_core_api_peer1.conf
src/core/test_core_api_peer2.conf

index bb3a0d586b561ef090b676857e5c031c8fa2855a..c931fccc2395520da425a396eb60a18f2a6d0f69 100644 (file)
@@ -34,7 +34,7 @@
 #include "gnunet_scheduler_lib.h"
 #include "gnunet_transport_service.h"
 
-#define VERBOSE GNUNET_NO
+#define VERBOSE GNUNET_YES
 
 #define START_ARM GNUNET_YES
 
@@ -42,7 +42,7 @@
 /**
  * How long until we give up on transmitting the message?
  */
-#define TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 60)
+#define TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 6)
 
 #define MTYPE 12345
 
@@ -192,7 +192,7 @@ transmit_ready (void *cls, size_t size, void *buf)
   m->size = htons (sizeof (struct GNUNET_MessageHeader));
   err_task = 
     GNUNET_SCHEDULER_add_delayed (sched,
-                                 GNUNET_TIME_UNIT_MINUTES, &terminate_task_error, NULL);
+                                 TIMEOUT, &terminate_task_error, NULL);
 
   return sizeof (struct GNUNET_MessageHeader);
 }
index a4510d2547f3ad34392d3b7fbf6baad16dcedc27..42533cebb126be9ab0454ff05b9051ba38835192 100644 (file)
@@ -12,11 +12,11 @@ PLUGINS = tcp
 #PREFIX = xterm -T transport1 -e
 #PREFIX = xterm -T transport1 -e gdb -x cmd --args
 #PREFIX = xterm -T transport1 -e valgrind --tool=memcheck
-#DEBUG = YES
+DEBUG = YES
 
 [arm]
 PORT = 12466
-DEFAULTSERVICES =
+DEFAULTSERVICES = resolver
 #GLOBAL_PREFIX = xterm -e valgrind --tool=memcheck
 
 [statistics]
@@ -25,7 +25,7 @@ PORT = 12467
 
 [transport-tcp]
 PORT = 12468
-#DEBUG = YES
+DEBUG = YES
 
 [peerinfo]
 PORT = 12469
@@ -39,7 +39,7 @@ PORT = 12470
 #OPTIONS = -l log-core-1
 #PREFIX = xterm -T core1 -e gdb -x cmd --args
 #PREFIX = xterm -T core1 -e 
-#DEBUG = YES
+DEBUG = YES
 
 [testing]
 WEAKRANDOM = YES
index a29090d7851e45f43bafbdd3996750dd97ede6c4..2d27bf6c54bc6f642e94ff265a32db00698ced43 100644 (file)
@@ -11,11 +11,11 @@ PORT = 22465
 PLUGINS = tcp
 #PREFIX = xterm -T transport2 -e
 #PREFIX = xterm -T transport2 -e valgrind --tool=memcheck
-#DEBUG = YES
+DEBUG = YES
 
 [arm]
 PORT = 22466
-DEFAULTSERVICES =
+DEFAULTSERVICES = resolver
 #GLOBAL_PREFIX = xterm -e valgrind --tool=memcheck
 
 [statistics]
@@ -24,7 +24,7 @@ PORT = 22467
 
 [transport-tcp]
 PORT = 22468
-#DEBUG = YES
+DEBUG = YES
 
 [peerinfo]
 PORT = 22469
@@ -36,7 +36,7 @@ PORT = 22469
 PORT = 22470
 #PREFIX = xterm -T core2 -e
 #PREFIX = xterm -T core2 -e valgrind --tool=memcheck
-#DEBUG = YES
+DEBUG = YES
 
 [testing]
 WEAKRANDOM = YES