summaryrefslogtreecommitdiff
path: root/test/suite/test_cursor08.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/suite/test_cursor08.py')
-rw-r--r--test/suite/test_cursor08.py11
1 files changed, 6 insertions, 5 deletions
diff --git a/test/suite/test_cursor08.py b/test/suite/test_cursor08.py
index f7e8534fb88..3edb1b27d08 100644
--- a/test/suite/test_cursor08.py
+++ b/test/suite/test_cursor08.py
@@ -54,11 +54,12 @@ class test_cursor08(wttest.WiredTigerTestCase, suite_subprocess):
('none', dict(compress='none')),
])
scenarios = number_scenarios(multiply_scenarios('.', reopens, compress))
- conn_config = lambda self, dir: \
- 'log=(archive=false,enabled,file_max=%s,' % self.logmax + \
- 'compressor=%s),' % self.compress + \
- 'transaction_sync="(method=dsync,enabled)",' + \
- self.extensionArg(self.compress)
+ # Load the compression extension, and enable it for logging.
+ def conn_config(self, dir):
+ return 'log=(archive=false,enabled,file_max=%s,' % self.logmax + \
+ 'compressor=%s),' % self.compress + \
+ 'transaction_sync="(method=dsync,enabled)",' + \
+ self.extensionArg(self.compress)
# Return the wiredtiger_open extension argument for a shared library.
def extensionArg(self, name):