コード例 #1
0
 def test_checkpoint_lsm_name(self):
     ds = ComplexLSMDataSet(self, "table:checkpoint", 1000)
     ds.populate()
     msg = '/object does not support named checkpoints/'
     self.assertRaisesWithMessage(
         wiredtiger.WiredTigerError,
         lambda: self.session.checkpoint("name=ckpt"), msg)
コード例 #2
0
ファイル: test_checkpoint01.py プロジェクト: ajdavis/mongo
 def test_checkpoint_lsm_name(self):
     ds = ComplexLSMDataSet(self, "table:checkpoint", 1000)
     ds.populate()
     msg = '/object does not support named checkpoints/'
     self.assertRaisesWithMessage(wiredtiger.WiredTigerError,
         lambda: self.session.checkpoint("name=ckpt"), msg)