예제 #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
 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)