Browse Source

-fix: increase quotas due to increased min value fix

Martin Schanzenbach 3 years ago
parent
commit
b953d97e83
2 changed files with 4 additions and 4 deletions
  1. 2 2
      src/ats/test_ats_api_proportional.conf
  2. 2 2
      src/ats/test_ats_reservation_api.c

+ 2 - 2
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

+ 2 - 2
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
     }