diff options
author | Michael Cahill <michael.cahill@wiredtiger.com> | 2012-05-23 21:46:16 +1000 |
---|---|---|
committer | Michael Cahill <michael.cahill@wiredtiger.com> | 2012-05-23 21:46:16 +1000 |
commit | 6e290d64211c7eb0189af810478fa6e78fb91c87 (patch) | |
tree | 223c8a06540b598c2b8e9d0a0b35c2216e2af30f /test | |
parent | f7ceda0c00a623272cf30a96e238d8965dbcd8a3 (diff) | |
download | mongo-6e290d64211c7eb0189af810478fa6e78fb91c87.tar.gz |
Add more documentation for transactions.
refs #138
--HG--
rename : src/docs/using.dox => src/docs/admin.dox
rename : src/docs/using.dox => src/docs/programming.dox
rename : src/docs/snapshot.dox => src/docs/snapshots.dox
Diffstat (limited to 'test')
-rw-r--r-- | test/suite/test_txn01.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/suite/test_txn01.py b/test/suite/test_txn01.py index 8cd78f09332..e6264082ea2 100644 --- a/test/suite/test_txn01.py +++ b/test/suite/test_txn01.py @@ -37,6 +37,14 @@ class test_txn01(wttest.WiredTigerTestCase): nentries = 10000 session_params = 'key_format=r,value_format=S' + # Overrides WiredTigerTestCase + def setUpConnectionOpen(self, dir): + conn = wiredtiger.wiredtiger_open(dir, 'create,' + + ('error_prefix="%s: ",' % self.shortid()) + + 'transactional,') + self.pr(`conn`) + return conn + def check_count(self, expected): s = self.conn.open_session() s.checkpoint("snapshot=test") |