summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/test/suite/test_checkpoint03.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/third_party/wiredtiger/test/suite/test_checkpoint03.py')
-rw-r--r--src/third_party/wiredtiger/test/suite/test_checkpoint03.py11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/third_party/wiredtiger/test/suite/test_checkpoint03.py b/src/third_party/wiredtiger/test/suite/test_checkpoint03.py
index 10f6138c2c0..106aaeaa00d 100644
--- a/src/third_party/wiredtiger/test/suite/test_checkpoint03.py
+++ b/src/third_party/wiredtiger/test/suite/test_checkpoint03.py
@@ -45,6 +45,13 @@ class test_checkpoint03(wttest.WiredTigerTestCase, suite_subprocess):
uri = 'table:' + tablename
session_config = 'isolation=snapshot, '
+ key_format_values = [
+ ('column', dict(key_format='r')),
+ ('integer_row', dict(key_format='i')),
+ ]
+
+ scenarios = make_scenarios(key_format_values)
+
def get_stat(self, stat):
stat_cursor = self.session.open_cursor('statistics:')
val = stat_cursor[stat][2]
@@ -53,7 +60,7 @@ class test_checkpoint03(wttest.WiredTigerTestCase, suite_subprocess):
def test_checkpoint_writes_to_hs(self):
# Create a basic table.
- self.session.create(self.uri, 'key_format=i,value_format=i')
+ self.session.create(self.uri, 'key_format={},value_format=i'.format(self.key_format))
self.session.begin_transaction()
self.conn.set_timestamp('oldest_timestamp=1')
@@ -96,7 +103,7 @@ class test_checkpoint03(wttest.WiredTigerTestCase, suite_subprocess):
# Open a new connection and validate that we see the latest update as part of the datafile.
conn2 = self.setUpConnectionOpen('.')
session2 = self.setUpSessionOpen(conn2)
- session2.create(self.uri, 'key_format=i,value_format=i')
+ session2.create(self.uri, 'key_format={},value_format=i'.format(self.key_format))
cur2 = session2.open_cursor(self.uri)
cur2.set_key(1)