summaryrefslogtreecommitdiff
path: root/test/suite/test_txn02.py
Commit message (Collapse)AuthorAgeFilesLines
* WT-2142. At the end of a test run, all open connections should be closedDon Anderson2015-11-301-4/+4
| | | | | | | | | | | | | | | | | | | | | to prevent cascading errors. Clean up and (mostly) standardize how connection configuration is added to and modified. Details: - class TestSuiteConnection wraps an opened Connection, calls to close() remove it from the list of active connections. - WiredTigerTestCase.wiredtiger_open uses a TestSuiteConnection, and this version of wiredtiger_open is now used everywhere. - in tearDown(), active connections are explicitly closed. - In WiredTigerTestCase derived classes, we now use use self.conn_config if possible in tests in preference to overloading setUpConnectionOpen(). - Explicitly call close on extra connections created dynamically. - Remove some unused code.
* WT-2151 Add zero-fill configuration to recovery test.Susan LoVerso2015-09-301-0/+9
|
* Python, whitespace cleanup.Keith Bostic2015-08-201-1/+1
|
* Add a __setitem__ to cursors in the Python API, remove lots of boilerplate ↵Michael Cahill2015-03-311-16/+3
| | | | c.set_key ... c.set_value ... c.insert code.
* Add test/check that printlog does not advance logs. #1651Susan LoVerso2015-02-101-0/+4
|
* Copyright notices: add MongoDB, update to 2015.Keith Bostic2015-01-041-0/+1
|
* Used prune_scenario limit the number of scenarios for default test runs.Don Anderson2014-12-121-6/+3
| | | | Refs #1461.
* Changed python test suite to allow for shorter runs by default,Don Anderson2014-12-111-7/+19
| | | | | | | with a --long (or -l) option for the complete runs. Txn02 in particular now runs only a small number of scenarios by default. Also added a @longtest("description") decorator for individual tests that can be marked to be run only under --long. Refs #1461.
* The style scripts complain about trailing semi-colons in Python code,Keith Bostic2014-12-091-4/+3
| | | | get rid of one in a comment.
* Change timing to allow archive thread to complete on tests thatDon Anderson2014-12-091-6/+8
| | | | | | do archive. Since this can make each test run substantially longer, reduce the number of tests that are doing archive from ~4000 to something under 100. Refs #1452.
* Give time.sleep a small timeout. #1359Susan LoVerso2014-12-091-2/+3
|
* To yield a thread, use time.sleep(0), not Python's keyword 'yield'.Don Anderson2014-12-021-2/+2
|
* Minor cleanup. Add enabled/none test case back in. #1074Susan LoVerso2014-06-191-1/+4
|
* Split the global transaction_sync configuration into two parts: a sync ↵Michael Cahill2014-06-191-8/+5
| | | | | | method (dsync, fsync or none), and a sync_on_commit flag (false by default). Convert the transaction-local configuration into a simple boolean "sync" using the configured method. #1074
* Add per-txn sync configuration support. #1074Susan LoVerso2014-06-181-1/+7
|
* Update copyright notices for 2014.Keith Bostic2014-01-071-1/+1
| | | | Move lang/java and lang/python into the public domain.
* Turn off archiving on primary connection. #710Susan LoVerso2013-12-091-2/+3
|
* Do a hot backup to test recovery, otherwise the copy can race with log ↵Michael Cahill2013-12-091-4/+2
| | | | archiving removing a log file. Switch a few tests to use the "standard" backup, use shutil.rmtree instead of our own version.
* Add code to close/reopen connection part of the time. #710Susan LoVerso2013-12-051-1/+9
|
* Replace test_txn02 with superset of operations that was test_txn04. #710Susan LoVerso2013-12-031-16/+91
|
* Explicitly enabled logging in tests that need it.Michael Cahill2013-10-091-3/+5
|
* Speed up tests by allowing smaller log files (100K) and using them.Michael Cahill2013-07-261-1/+1
|
* Add support for recovery of remove operations and column stores.Michael Cahill2013-07-261-7/+11
|
* Implement basic transactional recovery.Michael Cahill2013-07-261-13/+10
|
* Test fine-grained durability in test_txn02.Michael Cahill2013-07-261-4/+16
|
* Now the 'transactional' keyword is gone, remove uses it in the test suite.Keith Bostic2013-07-081-2/+1
|
* Update copyright notice to 2013.Keith Bostic2013-01-011-1/+1
|
* Remove trailing semi-colons & complain if they re-appear.Keith Bostic2012-11-291-2/+2
|
* We're sending a mixed message -- remove the copyright notices from filesKeith Bostic2012-08-151-1/+1
| | | | where we've placed our content in the public domain.
* Make cursors long-lived objects: instead of txn_commit and txn_rollbackKeith Bostic2012-08-131-4/+2
| | | | | | | closing cursors, txn_commit, txn_rollback and txn_begin all reset any open cursors. Ref #291. If txn_commit fails, document the transaction was rolled-back. Ref #294.
* Add read-committed checks, change to check state after every operation.Keith Bostic2012-08-101-24/+26
|
* whitespaceMichael Cahill2012-06-291-2/+3
|
* Fix visibility of values returned after a search.Michael Cahill2012-06-291-0/+5
|
* Fix two bugs with snapshot isolation:Michael Cahill2012-06-201-5/+24
| | | | | | 1. reset the isolation level when the transaction completes; 2. when checking visibility, check item's ID against the maximum snapshot ID (not the transaction's ID).
* More extensive transaction testing, plus some related bug fixes.Michael Cahill2012-05-311-21/+73
|
* Improve unit tests for transactions.Michael Cahill2012-05-231-0/+82
refs #138 --HG-- rename : test/suite/test_txn01.py => test/suite/test_txn02.py