/**
* How much time the child is allowed to waste on skipped log calls, at most.
- * Raspberry Pi takes 33 microseconds tops, this is 3x that value.
+ * Raspberry Pi takes 113 microseconds tops, this is 3x that value.
*/
-#define MAX_SKIP_DELAY GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_MICROSECONDS, 100).rel_value_us
+#define MAX_SKIP_DELAY GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_MICROSECONDS, 400).rel_value_us
/**
* How much time non-skipped log call should take, at least.
* Keep in sync with the value in the dummy!
*/
-#define OUTPUT_DELAY GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_MICROSECONDS, 200).rel_value_us
+#define OUTPUT_DELAY GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_MICROSECONDS, 1000).rel_value_us
static int ok;
/* Delay must be either less than 'lessthan' (log call is skipped)
* or more than 'morethan' (log call is not skipped)
*/
- delay_outside_of_range = ((*delay < delay_lessthan) || (*delay > delay_morethan));
+ delay_outside_of_range = ((*delay < delay_lessthan) || (*delay >= delay_morethan));
if (delay_is_a_dummy)
delay_outside_of_range = 1;
break;
}
- proc = GNUNET_OS_start_process (GNUNET_NO, GNUNET_OS_INHERIT_STD_OUT_AND_ERR, NULL, pipe_stdout,
+ proc = GNUNET_OS_start_process (GNUNET_NO, GNUNET_OS_INHERIT_STD_OUT_AND_ERR,
+ NULL, pipe_stdout, NULL,
#if MINGW
"test_common_logging_dummy",
#else