aboutsummaryrefslogtreecommitdiff
path: root/test.py
diff options
context:
space:
mode:
authorHristo Venev <hristo@venev.name>2023-10-17 22:44:23 +0300
committerHristo Venev <hristo@venev.name>2023-10-17 22:44:23 +0300
commit42d544a9c03aa4b682189f2274c5c1bea346d635 (patch)
tree3496b2c89573e87ea4a3ac97b16028ee7560bc33 /test.py
parent8c89da4825322660a912b717ba83326151e0866e (diff)
Remember and retry running operation
Diffstat (limited to 'test.py')
-rw-r--r--test.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/test.py b/test.py
index b67d26c..163c589 100644
--- a/test.py
+++ b/test.py
@@ -88,6 +88,7 @@ class Test(unittest.TestCase):
continue
if op == b'r':
+ print('>>> making snapshot')
i = self._wal_make()
with open(os.path.join(self._db_path, 'base'), 'wb') as f:
f.write(f'up to {i}\n'.encode() + os.urandom(20480))