- test for namestore
[oweals/gnunet.git] / src / namestore / test_namestore_api_zone_iteration.c
index 1d5f013cb9705b36b35f957cdea4b4a3cd490e5b..78b390cc6db64b34cb2d170f09f816e9a909a323 100644 (file)
@@ -353,7 +353,7 @@ create_record (unsigned int count)
   rd = GNUNET_malloc (count * sizeof (struct GNUNET_NAMESTORE_RecordData));
   for (c = 0; c < count; c++)
   {
-    rd[c].expiration_time = GNUNET_TIME_absolute_get().abs_value;
+    rd[c].expiration_time = GNUNET_TIME_relative_to_absolute (GNUNET_TIME_UNIT_HOURS).abs_value;
     rd[c].record_type = 1111;
     rd[c].data_size = 50;
     rd[c].data = GNUNET_malloc(50);