summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schanzenbach <mschanzenbach@posteo.de>2020-07-07 12:55:33 +0200
committerMartin Schanzenbach <mschanzenbach@posteo.de>2020-07-07 12:55:33 +0200
commitb953d97e83f71782f1e45ea793e137847372c6de (patch)
treec728b44e4c410291357485ed200bc6eb896a5b8c
parent8d0c55ce57abc11431ba8285d731f1f11c3f8592 (diff)
-fix: increase quotas due to increased min value fix
-rw-r--r--src/ats/test_ats_api_proportional.conf4
-rw-r--r--src/ats/test_ats_reservation_api.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/ats/test_ats_api_proportional.conf b/src/ats/test_ats_api_proportional.conf
index 21f8218ee..ee8f8f8e7 100644
--- a/src/ats/test_ats_api_proportional.conf
+++ b/src/ats/test_ats_api_proportional.conf
@@ -17,8 +17,8 @@ LOOPBACK_QUOTA_OUT = unlimited
LAN_QUOTA_IN = unlimited
LAN_QUOTA_OUT = unlimited
# WAN
-WAN_QUOTA_IN = 64 KiB
-WAN_QUOTA_OUT = 64 KiB
+WAN_QUOTA_IN = 5 MiB
+WAN_QUOTA_OUT = 5 MiB
# WLAN
WLAN_QUOTA_IN = 4096
WLAN_QUOTA_OUT = 4096
diff --git a/src/ats/test_ats_reservation_api.c b/src/ats/test_ats_reservation_api.c
index 46658007b..f6a964df4 100644
--- a/src/ats/test_ats_reservation_api.c
+++ b/src/ats/test_ats_reservation_api.c
@@ -102,14 +102,14 @@ static struct Command test_commands[] = {
},
- /* 6: reserve another 32k -- should now fail (if MAX_BANDWIDTH_CARRY_S
+ /* 6: reserve another 32M -- should now fail (if MAX_BANDWIDTH_CARRY_S
is precisely observed) */
{
.code = CMD_RESERVE_BANDWIDTH,
.label = "failing reservation",
.details.reserve_bandwidth = {
.pid = 0,
- .amount = 32 * 1024,
+ .amount = 32 * 1024 * 1024,
.expected_result = GNUNET_SYSERR
}