From 5e341ad43a85444ffc3c12c685463171a53838ff Mon Sep 17 00:00:00 2001 From: Itamar Turner-Trauring Date: Wed, 17 Nov 2021 11:29:34 -0500 Subject: [PATCH] New tests to write. --- src/allmydata/test/test_storage.py | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/src/allmydata/test/test_storage.py b/src/allmydata/test/test_storage.py index 36c776fba..93779bb29 100644 --- a/src/allmydata/test/test_storage.py +++ b/src/allmydata/test/test_storage.py @@ -285,6 +285,22 @@ class Bucket(unittest.TestCase): result_of_read = br.remote_read(0, len(share_data)+1) self.failUnlessEqual(result_of_read, share_data) + def test_bucket_expires_if_no_writes_for_30_minutes(self): + pass + + def test_bucket_writes_delay_timeout(self): + pass + + def test_bucket_finishing_writiing_cancels_timeout(self): + pass + + def test_bucket_closing_cancels_timeout(self): + pass + + def test_bucket_aborting_cancels_timeout(self): + pass + + class RemoteBucket(object): def __init__(self, target): @@ -559,7 +575,6 @@ class Server(unittest.TestCase): writer.remote_abort() self.failUnlessEqual(ss.allocated_size(), 0) - def test_allocate(self): ss = self.create("test_allocate")