Commit Graph

24 Commits

Author SHA1 Message Date
Keith Bostic
26b4776c27 Change WT_SESSION.rebalance to silently succeed if the tree has
never been written to disk.
Add support for WT_SESSION.rebalance to the fops test program.
2016-01-04 18:35:09 -05:00
Keith Bostic
344a714c3d Upgrade copyright notices from 2015 to 2016. 2016-01-01 16:37:39 -05:00
Michael Cahill
80cc29d353 Add forced drops to test/fops. We have seen failures where a checkpoint interleaves between a bulk load and a forced drop to try to operate on a dead handle.
refs SERVER-18014
2015-05-18 12:08:40 +10:00
David Hows
21148870aa Change to __wt_exists 2015-05-12 13:41:33 +10:00
Keith Bostic
39a120eb03 test/checkpoint is using __wt_random_init/__wt_random, test programs are
using other __wt_XXX functions (for example, __wt_thread_id), several
include wt_internal.h.

Back out chunks of the last commit, instead, change the test programs
to use the WiredTiger library RNG functions, remove RNG functions from
test_util.i.
2015-05-08 13:58:49 -04:00
Keith Bostic
29a01f2ed4 test/fops/thread.h 48 Warning 537: Repeated include file './wiredtiger.h' 2015-05-04 11:10:03 -04:00
David Hows
9925a414cd Code review Changes 2015-05-01 17:29:04 +10:00
daveh86
65255ea496 Create test utilities and modify FOPS test
Test utilities are created to separate the directory creation/cleanup utilities.

These are piloted against the FOPS test
2015-05-01 12:14:36 +10:00
Mark Benvenuto
7d0e5fe3df Enable test/fops for Windows, and add to CI
- Added Windows shim for gettimeofday
2015-04-08 14:22:10 -04:00
Keith Bostic
1f9098871a Copyright notices: add MongoDB, update to 2015. 2015-01-04 14:07:56 -05:00
Keith Bostic
47a3bd9bdf Add tests for creating bulk and non-bulk items that we know will succeed;
I did this change to test for #1397, but it's a reasonable way to do more
testing in fops.
2014-11-21 21:26:10 -05:00
Keith Bostic
dfca7d5b05 Move the test run into a subdirectory, WT_TEST.
Make it possible to pass additional information to the die functon's fprintf.
2014-11-21 13:41:39 -05:00
Keith Bostic
c2cb2d418a Simplify gcc.h, don't repeat the GCC atomic builtins, just use one version.
Break hardware.h up into gcc.h and lint.h (hardware.h is still there,
but it's mostly empty).
Remove need for gcc.h from various benchmarking/test programs.
2014-10-04 12:10:17 -04:00
Keith Bostic
5b509b7220 Update copyright notices for 2014.
Move lang/java and lang/python into the public domain.
2014-01-07 10:30:12 -05:00
Keith Bostic
9be66e1d26 Rework WT_UNUSED/WT_UNUSED_RET slightly: move GNUC macros out of misc.h
into their own include file "gcc.h", change the test programs to include
and use the definitions from that file.
2013-11-06 09:18:50 -05:00
Alex Gorrod
1e9c8b91d1 Fix compiler warnings with GCC 4.7.2 on Ubuntu. 2013-11-01 16:18:48 +11:00
Keith Bostic
963d37a4e6 Update copyright notice to 2013. 2013-01-01 09:45:50 +00:00
Keith Bostic
45c1e2a5a3 Move test program software into the public domain, if anyone wants to
cut-and-paste from it, that's fine with us.
2012-10-26 13:22:45 +00:00
Keith Bostic
9f452b1c4c Add in session.open_cursor operations, reference #373. 2012-10-20 10:16:32 +00:00
Alex Gorrod
3531efa5d5 Add sanity check of cache size to LSM open. 2012-10-03 16:48:25 +10:00
Alex Gorrod
031de977f2 Add a bulk cursor operation into fop test. 2012-09-07 16:14:21 +10:00
Keith Bostic
5f334c9654 Rename the "snapshot" config key in session.checkpoint to "name".
Delete the session.sync method, replace session.sync calls with
session.checkpoint calls, setting "target=(uri),name=xxx".

Add a "drop" config key to session.checkpoint, providing a list of
snapshot names to discard.  Replace session.drop snapshot discard
calls with calls to session.checkpoint.

Rework relevant documentation.
2012-06-16 10:55:25 +00:00
Michael Cahill
00088cccba Add tests for table-level operations to test/fops.
refs #191
2012-06-04 16:14:05 +10:00
Keith Bostic
ca408b3b2d Split test/thread into two parts, test/thread and test/fops. 2012-05-28 10:59:45 +00:00