summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/test/suite/test_cursor11.py
diff options
context:
space:
mode:
authorLuke Chen <luke.chen@mongodb.com>2022-09-26 08:27:13 +1000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-09-25 23:02:16 +0000
commiteb7e2ad19725cbf2a3024e1e4362535509a3491a (patch)
treeba0a0f375814aa922f27cf3eb18ea24c513179b5 /src/third_party/wiredtiger/test/suite/test_cursor11.py
parentb463bf5448847019639ff76a70e658dd6837bda7 (diff)
downloadmongo-eb7e2ad19725cbf2a3024e1e4362535509a3491a.tar.gz
Import wiredtiger: 7739da50a2c6a51a044915e01bf20cd33bc28eef from branch mongodb-master
ref: 8670ce2dec..7739da50a2 for: 6.2.0-rc0 WT-9742 Add timestamp support to Simple and Complex data sets in Python tests. (#8286)
Diffstat (limited to 'src/third_party/wiredtiger/test/suite/test_cursor11.py')
-rwxr-xr-x[-rw-r--r--]src/third_party/wiredtiger/test/suite/test_cursor11.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/third_party/wiredtiger/test/suite/test_cursor11.py b/src/third_party/wiredtiger/test/suite/test_cursor11.py
index 67be17fda19..75d933081f1 100644..100755
--- a/src/third_party/wiredtiger/test/suite/test_cursor11.py
+++ b/src/third_party/wiredtiger/test/suite/test_cursor11.py
@@ -72,7 +72,7 @@ class test_cursor11(wttest.WiredTigerTestCase):
ds = self.ds(self, uri, 50, key_format=self.keyfmt)
ds.populate()
s = self.conn.open_session()
- c = s.open_cursor(uri, None)
+ c = ds.open_cursor()
c.set_key(ds.key(25))
self.assertEquals(c.search(), 0)
@@ -94,7 +94,7 @@ class test_cursor11(wttest.WiredTigerTestCase):
ds = self.ds(self, uri, 50, key_format=self.keyfmt)
ds.populate()
s = self.conn.open_session()
- c = s.open_cursor(uri, None)
+ c = ds.open_cursor()
c.set_key(ds.key(25))
c.remove()
@@ -115,7 +115,7 @@ class test_cursor11(wttest.WiredTigerTestCase):
ds = self.ds(self, uri, 50, key_format=self.keyfmt)
ds.populate()
s = self.conn.open_session()
- c = s.open_cursor(uri, None)
+ c = ds.open_cursor()
c.set_key(ds.key(25))
self.assertEquals(c.search(), 0)
@@ -137,7 +137,7 @@ class test_cursor11(wttest.WiredTigerTestCase):
ds = self.ds(self, uri, 50, key_format=self.keyfmt)
ds.populate()
s = self.conn.open_session()
- c = s.open_cursor(uri, None)
+ c = ds.open_cursor()
c.set_key(ds.key(25))
c.set_value(ds.value(300))