/**
* Time to wait for stuff that should be rather fast
*/
-#define SHORT_TIME GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 30)
+#define SHORT_TIME GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 60)
/**
* DIFFERENT TESTS TO RUN
expected_target_client = 2L;
}
- if (SPEED == test && GNUNET_NO == initialized) // Initialization
+ if (GNUNET_NO == initialized)
{
- GNUNET_assert (2L == client);
initialized = GNUNET_YES;
start_time = GNUNET_TIME_absolute_get ();
- GNUNET_SCHEDULER_add_now (&data_task, NULL);
- return GNUNET_OK;
+ if (SPEED == test)
+ {
+ GNUNET_assert (2L == client);
+ GNUNET_SCHEDULER_add_now (&data_task, NULL);
+ return GNUNET_OK;
+ }
}
if (client == expected_target_client) // Normally 2 or 3