summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/test/suite/test_hs10.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/third_party/wiredtiger/test/suite/test_hs10.py')
-rw-r--r--src/third_party/wiredtiger/test/suite/test_hs10.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/third_party/wiredtiger/test/suite/test_hs10.py b/src/third_party/wiredtiger/test/suite/test_hs10.py
index f41f18bb999..ef92195daf9 100644
--- a/src/third_party/wiredtiger/test/suite/test_hs10.py
+++ b/src/third_party/wiredtiger/test/suite/test_hs10.py
@@ -38,6 +38,11 @@ def timestamp_str(t):
class test_hs10(wttest.WiredTigerTestCase):
conn_config = 'cache_size=2MB,statistics=(all),eviction=(threads_max=1)'
session_config = 'isolation=snapshot'
+ key_format_values = (
+ ('column', dict(key_format='r')),
+ ('int', dict(key_format='i'))
+ )
+ scenarios = make_scenarios(key_format_values)
def get_stat(self, stat):
stat_cursor = self.session.open_cursor('statistics:')
@@ -48,7 +53,7 @@ class test_hs10(wttest.WiredTigerTestCase):
def test_modify_insert_to_hs(self):
uri = "table:test_hs10"
uri2 = "table:test_hs10_otherdata"
- create_params = 'value_format=S,key_format=i'
+ create_params = 'value_format=S,key_format={}'.format(self.key_format)
value1 = 'a' * 1000
value2 = 'b' * 1000
self.session.create(uri, create_params)