diff options
author | Hristo Venev <hristo@venev.name> | 2023-10-17 22:44:23 +0300 |
---|---|---|
committer | Hristo Venev <hristo@venev.name> | 2023-10-17 22:44:23 +0300 |
commit | 42d544a9c03aa4b682189f2274c5c1bea346d635 (patch) | |
tree | 3496b2c89573e87ea4a3ac97b16028ee7560bc33 /test.py | |
parent | 8c89da4825322660a912b717ba83326151e0866e (diff) |
Remember and retry running operation
Diffstat (limited to 'test.py')
-rw-r--r-- | test.py | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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)) |