summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/test/suite/test_cursor17.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/third_party/wiredtiger/test/suite/test_cursor17.py')
-rwxr-xr-x[-rw-r--r--]src/third_party/wiredtiger/test/suite/test_cursor17.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/third_party/wiredtiger/test/suite/test_cursor17.py b/src/third_party/wiredtiger/test/suite/test_cursor17.py
index cf186131091..84cfc4d7c27 100644..100755
--- a/src/third_party/wiredtiger/test/suite/test_cursor17.py
+++ b/src/third_party/wiredtiger/test/suite/test_cursor17.py
@@ -60,11 +60,12 @@ class test_cursor17(wttest.WiredTigerTestCase):
self.ds = self.dataset(self, self.type + self.tablename, rownum, key_format=self.keyformat)
self.ds.populate()
+ @wttest.skip_for_hook("tiered", "fails assertion 99") # FIXME-WT-9809
def test_globally_deleted_key(self):
self.populate(100)
# Delete the largest key.
- cursor = self.session.open_cursor(self.type + self.tablename, None)
+ cursor = self.ds.open_cursor(self.type + self.tablename, None)
self.session.begin_transaction()
cursor.set_key(100)
self.assertEqual(cursor.remove(), 0)
@@ -95,7 +96,7 @@ class test_cursor17(wttest.WiredTigerTestCase):
self.session.rollback_transaction()
# Use evict cursor to evict the key from memory.
- evict_cursor = self.session.open_cursor(self.type + self.tablename, None, "debug=(release_evict)")
+ evict_cursor = self.ds.open_cursor(self.type + self.tablename, None, "debug=(release_evict)")
evict_cursor.set_key(100)
if self.valueformat != '8t':
self.assertEquals(evict_cursor.search(), wiredtiger.WT_NOTFOUND)
@@ -223,6 +224,7 @@ class test_cursor17(wttest.WiredTigerTestCase):
self.assertEquals(cursor.largest_key(), wiredtiger.WT_NOTFOUND)
self.session.rollback_transaction()
+ @wttest.prevent(["timestamp"]) # this test uses timestamps, hooks should not
def test_fast_truncate(self):
self.populate(100)
@@ -248,6 +250,7 @@ class test_cursor17(wttest.WiredTigerTestCase):
self.assertEqual(cursor.get_key(), 100)
self.session.rollback_transaction()
+ @wttest.prevent(["timestamp"]) # this test uses timestamps, hooks should not
def test_slow_truncate(self):
self.populate(100)