Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | WT-2142. At the end of a test run, all open connections should be closed | Don Anderson | 2015-11-30 | 1 | -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 LoVerso | 2015-09-30 | 1 | -0/+9 |
| | |||||
* | Python, whitespace cleanup. | Keith Bostic | 2015-08-20 | 1 | -1/+1 |
| | |||||
* | Add a __setitem__ to cursors in the Python API, remove lots of boilerplate ↵ | Michael Cahill | 2015-03-31 | 1 | -16/+3 |
| | | | | c.set_key ... c.set_value ... c.insert code. | ||||
* | Add test/check that printlog does not advance logs. #1651 | Susan LoVerso | 2015-02-10 | 1 | -0/+4 |
| | |||||
* | Copyright notices: add MongoDB, update to 2015. | Keith Bostic | 2015-01-04 | 1 | -0/+1 |
| | |||||
* | Used prune_scenario limit the number of scenarios for default test runs. | Don Anderson | 2014-12-12 | 1 | -6/+3 |
| | | | | Refs #1461. | ||||
* | Changed python test suite to allow for shorter runs by default, | Don Anderson | 2014-12-11 | 1 | -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 Bostic | 2014-12-09 | 1 | -4/+3 |
| | | | | get rid of one in a comment. | ||||
* | Change timing to allow archive thread to complete on tests that | Don Anderson | 2014-12-09 | 1 | -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. #1359 | Susan LoVerso | 2014-12-09 | 1 | -2/+3 |
| | |||||
* | To yield a thread, use time.sleep(0), not Python's keyword 'yield'. | Don Anderson | 2014-12-02 | 1 | -2/+2 |
| | |||||
* | Minor cleanup. Add enabled/none test case back in. #1074 | Susan LoVerso | 2014-06-19 | 1 | -1/+4 |
| | |||||
* | Split the global transaction_sync configuration into two parts: a sync ↵ | Michael Cahill | 2014-06-19 | 1 | -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. #1074 | Susan LoVerso | 2014-06-18 | 1 | -1/+7 |
| | |||||
* | Update copyright notices for 2014. | Keith Bostic | 2014-01-07 | 1 | -1/+1 |
| | | | | Move lang/java and lang/python into the public domain. | ||||
* | Turn off archiving on primary connection. #710 | Susan LoVerso | 2013-12-09 | 1 | -2/+3 |
| | |||||
* | Do a hot backup to test recovery, otherwise the copy can race with log ↵ | Michael Cahill | 2013-12-09 | 1 | -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. #710 | Susan LoVerso | 2013-12-05 | 1 | -1/+9 |
| | |||||
* | Replace test_txn02 with superset of operations that was test_txn04. #710 | Susan LoVerso | 2013-12-03 | 1 | -16/+91 |
| | |||||
* | Explicitly enabled logging in tests that need it. | Michael Cahill | 2013-10-09 | 1 | -3/+5 |
| | |||||
* | Speed up tests by allowing smaller log files (100K) and using them. | Michael Cahill | 2013-07-26 | 1 | -1/+1 |
| | |||||
* | Add support for recovery of remove operations and column stores. | Michael Cahill | 2013-07-26 | 1 | -7/+11 |
| | |||||
* | Implement basic transactional recovery. | Michael Cahill | 2013-07-26 | 1 | -13/+10 |
| | |||||
* | Test fine-grained durability in test_txn02. | Michael Cahill | 2013-07-26 | 1 | -4/+16 |
| | |||||
* | Now the 'transactional' keyword is gone, remove uses it in the test suite. | Keith Bostic | 2013-07-08 | 1 | -2/+1 |
| | |||||
* | Update copyright notice to 2013. | Keith Bostic | 2013-01-01 | 1 | -1/+1 |
| | |||||
* | Remove trailing semi-colons & complain if they re-appear. | Keith Bostic | 2012-11-29 | 1 | -2/+2 |
| | |||||
* | We're sending a mixed message -- remove the copyright notices from files | Keith Bostic | 2012-08-15 | 1 | -1/+1 |
| | | | | where we've placed our content in the public domain. | ||||
* | Make cursors long-lived objects: instead of txn_commit and txn_rollback | Keith Bostic | 2012-08-13 | 1 | -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 Bostic | 2012-08-10 | 1 | -24/+26 |
| | |||||
* | whitespace | Michael Cahill | 2012-06-29 | 1 | -2/+3 |
| | |||||
* | Fix visibility of values returned after a search. | Michael Cahill | 2012-06-29 | 1 | -0/+5 |
| | |||||
* | Fix two bugs with snapshot isolation: | Michael Cahill | 2012-06-20 | 1 | -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 Cahill | 2012-05-31 | 1 | -21/+73 |
| | |||||
* | Improve unit tests for transactions. | Michael Cahill | 2012-05-23 | 1 | -0/+82 |
refs #138 --HG-- rename : test/suite/test_txn01.py => test/suite/test_txn02.py |