summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/test/suite/test_checkpoint01.py
diff options
context:
space:
mode:
authorAlex Gorrod <alexander.gorrod@mongodb.com>2016-09-16 16:22:54 +1000
committerAlex Gorrod <alexander.gorrod@mongodb.com>2016-09-16 16:26:24 +1000
commit7693fa59c4470db729d85af99fb9cc3b264fa8c8 (patch)
treeae2747db581d28abb65251754cf735074eebafc7 /src/third_party/wiredtiger/test/suite/test_checkpoint01.py
parent2c15ad73fb47d7697e05fb2b7972021b87a56452 (diff)
downloadmongo-7693fa59c4470db729d85af99fb9cc3b264fa8c8.tar.gz
Import wiredtiger: 5bc03723a7e77c96b1d5e45a97173654872c727a from branch mongodb-3.4
ref: deeb0f589a..5bc03723a7 for: 3.3.13 WT-2859 Improve statistics macros to not collect stats when statistics=none is set WT-2894 Create workload that shows negative scaling when overwhelmed WT-2900 Add ARM8 build support to WiredTiger and fix ARM CRC assembler tags WT-2902 Enhance eviction to work better with update heavy YCSB load WT-2905 dead code: MongoDB Coverity #99881 WT-2908 Add dry-run support to python unit-test WT-2910 test_inmem01 can abort due to stuck cache WT-2911 add support for gcc6 WT-2912 make --enable-strict run on the zseries test box WT-2913 stuck cache after latest merge WT-2914 Fix link error on OS/X for checksum_init call WT-2916 whitespace check not working
Diffstat (limited to 'src/third_party/wiredtiger/test/suite/test_checkpoint01.py')
-rw-r--r--src/third_party/wiredtiger/test/suite/test_checkpoint01.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/third_party/wiredtiger/test/suite/test_checkpoint01.py b/src/third_party/wiredtiger/test/suite/test_checkpoint01.py
index 78754dc82fa..013cda96e4e 100644
--- a/src/third_party/wiredtiger/test/suite/test_checkpoint01.py
+++ b/src/third_party/wiredtiger/test/suite/test_checkpoint01.py
@@ -136,7 +136,6 @@ class test_checkpoint(wttest.WiredTigerTestCase):
(self.checkpoints[checkpoint_name][0], 0)
self.check()
-
# Check some specific cursor checkpoint combinations.
class test_checkpoint_cursor(wttest.WiredTigerTestCase):
scenarios = make_scenarios([
@@ -202,7 +201,6 @@ class test_checkpoint_cursor(wttest.WiredTigerTestCase):
self.session.checkpoint("drop=(checkpoint-2)")
self.session.checkpoint("drop=(from=all)")
-
# Check that you can checkpoint targets.
class test_checkpoint_target(wttest.WiredTigerTestCase):
scenarios = make_scenarios([
@@ -249,7 +247,6 @@ class test_checkpoint_target(wttest.WiredTigerTestCase):
self.check(self.uri + '2', 'UPDATE')
self.check(self.uri + '3', 'ORIGINAL')
-
# Check that you can't write checkpoint cursors.
class test_checkpoint_cursor_update(wttest.WiredTigerTestCase):
scenarios = make_scenarios([
@@ -274,7 +271,6 @@ class test_checkpoint_cursor_update(wttest.WiredTigerTestCase):
lambda: cursor.update(), msg)
cursor.close()
-
# Check that WiredTigerCheckpoint works as a checkpoint specifier.
class test_checkpoint_last(wttest.WiredTigerTestCase):
scenarios = make_scenarios([
@@ -306,7 +302,6 @@ class test_checkpoint_last(wttest.WiredTigerTestCase):
# Don't close the checkpoint cursor, we want it to remain open until
# the test completes.
-
# Check we can't use the reserved name as an application checkpoint name.
class test_checkpoint_illegal_name(wttest.WiredTigerTestCase):
def test_checkpoint_illegal_name(self):
@@ -331,7 +326,6 @@ class test_checkpoint_illegal_name(wttest.WiredTigerTestCase):
self.assertRaisesWithMessage(wiredtiger.WiredTigerError,
lambda: self.session.checkpoint(conf), msg)
-
# Check we can't name checkpoints that include LSM tables.
class test_checkpoint_lsm_name(wttest.WiredTigerTestCase):
def test_checkpoint_lsm_name(self):
@@ -341,7 +335,6 @@ class test_checkpoint_lsm_name(wttest.WiredTigerTestCase):
self.assertRaisesWithMessage(wiredtiger.WiredTigerError,
lambda: self.session.checkpoint("name=ckpt"), msg)
-
class test_checkpoint_empty(wttest.WiredTigerTestCase):
scenarios = make_scenarios([
('file', dict(uri='file:checkpoint')),
@@ -417,6 +410,5 @@ class test_checkpoint_empty(wttest.WiredTigerTestCase):
self.uri, None, "checkpoint=WiredTigerCheckpoint")
self.assertEquals(cursor.next(), wiredtiger.WT_NOTFOUND)
-
if __name__ == '__main__':
wttest.run()