dhtlog inserts round info
authorNathan S. Evans <evans@in.tum.de>
Thu, 16 Sep 2010 14:12:56 +0000 (14:12 +0000)
committerNathan S. Evans <evans@in.tum.de>
Thu, 16 Sep 2010 14:12:56 +0000 (14:12 +0000)
src/dht/test_dhtlog.c

index 08ac6af651cbe048c61402d050c7ebea06e7d312..667bf3d2a34153ffce7c3104065734d352df66ef 100644 (file)
@@ -28,7 +28,7 @@
 #include "gnunet_protocols.h"
 #include "dhtlog.h"
 
-#define VERBOSE GNUNET_NO
+#define VERBOSE GNUNET_YES
 
 static int ok;
 
@@ -177,6 +177,11 @@ test (struct GNUNET_DHTLOG_Handle * api)
   CHECK(ret);
 #if VERBOSE
   fprintf(stderr, "Insert generic stat succeeded!\n");
+#endif
+  ret = api->insert_round(401, 507);
+  CHECK(ret);
+#if VERBOSE
+  fprintf(stderr, "Insert round succeeded!\n");
 #endif
   return 0;
 }