diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-10-20 17:19:38 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-10-20 17:19:38 +0000 |
commit | 6b6fa821eea0d1fcec5ddd146856c529ae01eee3 (patch) | |
tree | 08ab1e48c1e7cd020da7368375e28bd8944457a7 /src/core/test_core_quota_compliance.c | |
parent | 9aa7853d6c5fa43d0384ae79476bb45242af61fb (diff) | |
download | gnunet-6b6fa821eea0d1fcec5ddd146856c529ae01eee3.tar.gz gnunet-6b6fa821eea0d1fcec5ddd146856c529ae01eee3.zip |
be even more lax in the test
Diffstat (limited to 'src/core/test_core_quota_compliance.c')
-rw-r--r-- | src/core/test_core_quota_compliance.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/test_core_quota_compliance.c b/src/core/test_core_quota_compliance.c index 51ed48916..c8dcfad86 100644 --- a/src/core/test_core_quota_compliance.c +++ b/src/core/test_core_quota_compliance.c | |||
@@ -239,9 +239,9 @@ measurement_stop (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
239 | max_quota_out = GNUNET_MIN (current_quota_p1_out, | 239 | max_quota_out = GNUNET_MIN (current_quota_p1_out, |
240 | current_quota_p2_out); | 240 | current_quota_p2_out); |
241 | if (max_quota_out < max_quota_in) | 241 | if (max_quota_out < max_quota_in) |
242 | quota_delta = max_quota_in / 10; | 242 | quota_delta = max_quota_in / 5; |
243 | else | 243 | else |
244 | quota_delta = max_quota_out / 10; | 244 | quota_delta = max_quota_out / 5; |
245 | 245 | ||
246 | if ((throughput_out > (max_quota_out + quota_delta)) || | 246 | if ((throughput_out > (max_quota_out + quota_delta)) || |
247 | (throughput_in > (max_quota_in + quota_delta))) | 247 | (throughput_in > (max_quota_in + quota_delta))) |