summaryrefslogtreecommitdiff
path: root/test/suite/test_bulk02.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/suite/test_bulk02.py')
-rw-r--r--test/suite/test_bulk02.py10
1 files changed, 3 insertions, 7 deletions
diff --git a/test/suite/test_bulk02.py b/test/suite/test_bulk02.py
index eeca6a56967..fe8118209f2 100644
--- a/test/suite/test_bulk02.py
+++ b/test/suite/test_bulk02.py
@@ -49,8 +49,7 @@ class test_bulkload_checkpoint(wttest.WiredTigerTestCase, suite_subprocess):
scenarios = number_scenarios(multiply_scenarios('.', types, ckpt_type))
- # Bulk-load handles return EBUSY to the checkpoint code, causing the
- # checkpoint call to find a handle anyway, and create fake checkpoint.
+ # Bulk-load handles are skipped by checkpoints.
# Named and unnamed checkpoint versions.
def test_bulkload_checkpoint(self):
# Open a bulk cursor and insert a few records.
@@ -72,11 +71,8 @@ class test_bulkload_checkpoint(wttest.WiredTigerTestCase, suite_subprocess):
# In the case of named checkpoints, verify they're still there,
# reflecting an empty file.
if self.ckpt_type == 'named':
- cursor = self.session.open_cursor(
- self.uri, None, 'checkpoint=myckpt')
- self.assertEquals(cursor.next(), wiredtiger.WT_NOTFOUND)
- cursor.close()
-
+ self.assertRaises(wiredtiger.WiredTigerError,
+ lambda: self.session.open_cursor(self.uri, None, 'checkpoint=myckpt'))
# test_bulkload_backup
# Test bulk-load with hot-backup.