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)
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)