コード例 #1
0
 def test_checkpoint_lsm_name(self):
     complex_populate_lsm(self, "table:checkpoint", 'type=lsm,key_format=S',
                          1000)
     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):
     complex_populate_lsm(self,
         "table:checkpoint", 'type=lsm,key_format=S', 1000)
     msg = '/object does not support named checkpoints/'
     self.assertRaisesWithMessage(wiredtiger.WiredTigerError,
         lambda: self.session.checkpoint("name=ckpt"), msg)