diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-12-18 09:33:36 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-12-18 09:33:36 +0000 |
commit | 93bfa19afe98d3cc43606201a560437f465774e0 (patch) | |
tree | 770b76bb8967e02a280e2fdd67bc8b372a5bc93c | |
parent | 2a273db5b90374750b73823bb08bea8dcd6e597b (diff) | |
download | gnunet-93bfa19afe98d3cc43606201a560437f465774e0.tar.gz gnunet-93bfa19afe98d3cc43606201a560437f465774e0.zip |
-pi can be slower than this (see build 1241)
-rw-r--r-- | src/util/test_common_logging_dummy.c | 2 | ||||
-rw-r--r-- | src/util/test_common_logging_runtime_loglevels.c | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/util/test_common_logging_dummy.c b/src/util/test_common_logging_dummy.c index fcdf9cd27..e552eaffc 100644 --- a/src/util/test_common_logging_dummy.c +++ b/src/util/test_common_logging_dummy.c | |||
@@ -35,7 +35,7 @@ | |||
35 | * This must be long enough for us to not to mistake skipped log call | 35 | * This must be long enough for us to not to mistake skipped log call |
36 | * on a slow machine for a non-skipped one. | 36 | * on a slow machine for a non-skipped one. |
37 | */ | 37 | */ |
38 | #define OUTPUT_DELAY GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_MICROSECONDS, 200) | 38 | #define OUTPUT_DELAY GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_MICROSECONDS, 1000) |
39 | 39 | ||
40 | static void | 40 | static void |
41 | my_log (void *ctx, enum GNUNET_ErrorType kind, const char *component, | 41 | my_log (void *ctx, enum GNUNET_ErrorType kind, const char *component, |
diff --git a/src/util/test_common_logging_runtime_loglevels.c b/src/util/test_common_logging_runtime_loglevels.c index 14055e11f..676cbe14f 100644 --- a/src/util/test_common_logging_runtime_loglevels.c +++ b/src/util/test_common_logging_runtime_loglevels.c | |||
@@ -30,15 +30,15 @@ | |||
30 | 30 | ||
31 | /** | 31 | /** |
32 | * How much time the child is allowed to waste on skipped log calls, at most. | 32 | * How much time the child is allowed to waste on skipped log calls, at most. |
33 | * Raspberry Pi takes 33 microseconds tops, this is 3x that value. | 33 | * Raspberry Pi takes 113 microseconds tops, this is 3x that value. |
34 | */ | 34 | */ |
35 | #define MAX_SKIP_DELAY GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_MICROSECONDS, 100).rel_value_us | 35 | #define MAX_SKIP_DELAY GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_MICROSECONDS, 400).rel_value_us |
36 | 36 | ||
37 | /** | 37 | /** |
38 | * How much time non-skipped log call should take, at least. | 38 | * How much time non-skipped log call should take, at least. |
39 | * Keep in sync with the value in the dummy! | 39 | * Keep in sync with the value in the dummy! |
40 | */ | 40 | */ |
41 | #define OUTPUT_DELAY GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_MICROSECONDS, 200).rel_value_us | 41 | #define OUTPUT_DELAY GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_MICROSECONDS, 1000).rel_value_us |
42 | 42 | ||
43 | static int ok; | 43 | static int ok; |
44 | 44 | ||