diff options
author | sueloverso <sue@mongodb.com> | 2016-08-14 20:38:40 -0400 |
---|---|---|
committer | Michael Cahill <michael.cahill@mongodb.com> | 2016-08-15 10:38:40 +1000 |
commit | b2fbc74c45a9c50982d0b5aafb5a658fe593cf8a (patch) | |
tree | cdd71416eda0622433374df4bd8f2940a3818753 /test | |
parent | 50e0767bbc62bc7574805793b661ccfabfea9459 (diff) | |
download | mongo-b2fbc74c45a9c50982d0b5aafb5a658fe593cf8a.tar.gz |
WT-2827 Set a reasonable minimum for log_size. (#2946)
Diffstat (limited to 'test')
-rw-r--r-- | test/suite/test_reconfig03.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/suite/test_reconfig03.py b/test/suite/test_reconfig03.py index c667a5c7d9d..e9d39ea5a76 100644 --- a/test/suite/test_reconfig03.py +++ b/test/suite/test_reconfig03.py @@ -54,5 +54,13 @@ class test_reconfig03(wttest.WiredTigerTestCase): time.sleep(1) self.conn.reconfigure("shared_cache=(chunk=11MB, name=bar, reserve=12MB, size=1G)") + def test_reconfig03_log_size(self): + # + # Reconfigure checkpoint based on log size. + # + self.conn.reconfigure("checkpoint=(log_size=20)") + self.conn.reconfigure("checkpoint=(log_size=1M)") + self.conn.reconfigure("checkpoint=(log_size=0)") + if __name__ == '__main__': wttest.run() |