Commit Graph

5 Commits

Author SHA1 Message Date
Alex Gorrod
5bc2a7ab2a Merge pull request #2348 from wiredtiger/wt-2142-test-cleanup
WT-2142 test cleanup
2016-01-04 17:57:02 -05:00
Keith Bostic
344a714c3d Upgrade copyright notices from 2015 to 2016. 2016-01-01 16:37:39 -05:00
Don Anderson
91a6c92541 WT-2142. At the end of a test run, all open connections should be closed
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.
2015-11-30 16:50:15 -05:00
Michael Cahill
674170067c Add a __setitem__ to cursors in the Python API, remove lots of boilerplate c.set_key ... c.set_value ... c.insert code. 2015-03-31 14:26:00 +11:00
Alex Gorrod
1266bbb114 Fix a bug in the reconfigure API related to shared cache quotas.
While fixing the bug simplify the code flow for reconfigure and
caches/shared caches.
refs #1712
2015-03-03 03:37:18 +00:00