diff options
author | LRN <lrn1986@gmail.com> | 2013-09-26 19:14:36 +0000 |
---|---|---|
committer | LRN <lrn1986@gmail.com> | 2013-09-26 19:14:36 +0000 |
commit | 5c9ee2e735fdd8923202b6cda23bbe5770abdcfd (patch) | |
tree | 5424d7a1c333517afef1b9fa00423fd463a62c90 /src/util/test_common_logging_dummy.c | |
parent | d642961c42f5f498408cca6cca3e81022b4e0dc7 (diff) | |
download | gnunet-5c9ee2e735fdd8923202b6cda23bbe5770abdcfd.tar.gz gnunet-5c9ee2e735fdd8923202b6cda23bbe5770abdcfd.zip |
More comments to make the testcase easier to understand later.
Increase code verbosity to make it obvious what is being tested.
Diffstat (limited to 'src/util/test_common_logging_dummy.c')
-rw-r--r-- | src/util/test_common_logging_dummy.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/util/test_common_logging_dummy.c b/src/util/test_common_logging_dummy.c index 781b810db..679dd9178 100644 --- a/src/util/test_common_logging_dummy.c +++ b/src/util/test_common_logging_dummy.c | |||
@@ -33,7 +33,9 @@ | |||
33 | #include "gnunet_network_lib.h" | 33 | #include "gnunet_network_lib.h" |
34 | 34 | ||
35 | /** | 35 | /** |
36 | * Delay introduced between operations, useful for debugging. | 36 | * Artificial delay attached to each log call that is not skipped out. |
37 | * This must be long enough for us to not to mistake skipped log call | ||
38 | * on a slow machine for a non-skipped one. | ||
37 | */ | 39 | */ |
38 | #define OUTPUT_DELAY GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_MICROSECONDS, 200) | 40 | #define OUTPUT_DELAY GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_MICROSECONDS, 200) |
39 | 41 | ||