summaryrefslogtreecommitdiff
path: root/test/suite/test_checkpoint01.py
diff options
context:
space:
mode:
authorKeith Bostic <keith@wiredtiger.com>2012-07-25 19:44:24 +0000
committerKeith Bostic <keith@wiredtiger.com>2012-07-25 19:44:24 +0000
commit98bca3fd620d9c2c43a621aadb8b6d1f9379ec88 (patch)
tree37273157f293fe65dc0e39157801789123a14561 /test/suite/test_checkpoint01.py
parentb07d59a28c87d7c65f4468dcc5db24a2a505249f (diff)
downloadmongo-98bca3fd620d9c2c43a621aadb8b6d1f9379ec88.tar.gz
Checkpoint both open and closed files if the checkpoint is dropping
other checkpoints, closes issue #270.
Diffstat (limited to 'test/suite/test_checkpoint01.py')
-rw-r--r--test/suite/test_checkpoint01.py11
1 files changed, 7 insertions, 4 deletions
diff --git a/test/suite/test_checkpoint01.py b/test/suite/test_checkpoint01.py
index e9715df3100..da746606988 100644
--- a/test/suite/test_checkpoint01.py
+++ b/test/suite/test_checkpoint01.py
@@ -131,11 +131,14 @@ class test_checkpoint(wttest.WiredTigerTestCase):
self.checkpoints[checkpoint_name]
del self.checkpoints[checkpoint_name]
self.check()
+ '''
- # Drop remaining checkpoints; we have to name the checkpoint, else
- # closed files won't be checkpointed. That should have removed all
- # of the checkpoints, and subsequent opens should fail.
- self.session.checkpoint("name=final,drop=(from=all)")
+ # Drop remaining checkpoints; that should have removed all of the
+ # checkpoints, and subsequent opens should fail.
+ self.session.checkpoint("drop=(from=all)")
+ '''
+ XXX
+ Waiting on issue #269
for checkpoint_name, sizes in self.checkpoints.iteritems():
self.checkpoints_deleted[checkpoint_name] =\
self.checkpoints[checkpoint_name]