From 45c1d751d80c275e7c7c9fe896ccd4ca3993e6cc Mon Sep 17 00:00:00 2001
From: Jean-Paul Calderone <exarkun@twistedmatrix.com>
Date: Tue, 10 Mar 2020 11:11:37 -0400
Subject: [PATCH] Feel free to exercise larger sizes now

---
 src/_zkapauthorizer/tests/strategies.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/_zkapauthorizer/tests/strategies.py b/src/_zkapauthorizer/tests/strategies.py
index a4f4ead..0da7adf 100644
--- a/src/_zkapauthorizer/tests/strategies.py
+++ b/src/_zkapauthorizer/tests/strategies.py
@@ -488,10 +488,10 @@ def sizes():
     return integers(
         # Size 0 data isn't data, it's nothing.
         min_value=1,
-        # For the moment there are some assumptions in the test suite that
-        # limit us to an amount of storage that can be paid for with one ZKAP.
-        # That will be fixed eventually.  For now, keep the sizes pretty low.
-        max_value=2 ** 16,
+        # Let this be larger than a single segment (2 ** 17) in case that
+        # matters to Tahoe-LAFS storage at all.  I don't think it does,
+        # though.
+        max_value=2 ** 18,
     )
 
 
-- 
GitLab