Commit Graph

1448 Commits

Author SHA1 Message Date
Keith Bostic
7cc25a0644 Fix up the quoting for the Helium devices. 2014-01-18 11:06:39 -05:00
Keith Bostic
f55804b2d4 test/format runs, now.
Remove the Memrata support, add Helium documentation, remaining cleanups.
2014-01-18 11:01:20 -05:00
Keith Bostic
0e351b44ce Turn off verbose messages for now. 2014-01-17 18:12:12 -05:00
Keith Bostic
d7e7e50a15 More verbose messages, make it possible to configure verbosity at run-time. 2014-01-15 13:10:08 -05:00
Keith Bostic
6063b1cc0e First version of the Levyx/Helium code, derived from the Memrata code.
It doesn't run yet, but it compiles and limps to a core dump.
2014-01-15 11:46:07 -05:00
Keith Bostic
fe644a307a Merge branch 'develop' into helium
Conflicts:
	test/format/bdb.c
2014-01-13 06:56:00 -05:00
Keith Bostic
6792b1aadd Update to match new configuration option, --with-berkeleydb=DIR 2014-01-13 06:26:55 -05:00
Michael Cahill
3620321041 Maintain compatibility with older versions of BDB.
refs #841
2014-01-13 11:24:08 +11:00
Keith Bostic
6d8c107e86 Move to autoconf 1.14; subdir-objects means we have to copy the compression
file and build it locally, we're already building the standard version of it
in the source location.
2014-01-11 15:36:24 -05:00
Keith Bostic
e663539544 The BerkeleyDB 6.0 btree comparison function takes an additional argument,
a size_t reference, currently unused.
2014-01-11 15:24:24 -05:00
Keith Bostic
0841e6f19d Berkeley DB 6.X's application-comparison function takes a size_t reference
as an additional, 4th argument.
2014-01-10 12:12:30 -05:00
Alex Gorrod
dd5d44ec57 Fix compiler warning:
../../../test/huge/huge.c:212:2: error: ignoring return value of
‘system’, declared with attribute warn_unused_result
[-Werror=unused-result]
  (void)system("rm -rf WT_TEST");
2014-01-10 10:57:13 +11: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
Susan LoVerso
c7016d9b27 Back off -s to 1Mb. 2013-12-27 14:05:36 -05:00
Keith Bostic
b83b6b7d2e Don't step off the end of the allocated buffer.
Free memory when done.
2013-12-27 13:26:57 -05:00
Keith Bostic
5f4fd16abe Minor restructuring, no real change. 2013-12-27 13:08:23 -05:00
Keith Bostic
49d7e60f5f Don't allocate more buffer memory than we need. 2013-12-27 13:04:21 -05:00
Keith Bostic
13d100cee6 Always check the value, it's big no matter what the store. 2013-12-20 13:52:02 -05:00
Keith Bostic
7f69b80221 Don't recreate the directory when exiting successfully. 2013-12-20 13:49:34 -05:00
Keith Bostic
e579c6c53c Don't leave random big files lying around. 2013-12-20 13:47:47 -05:00
Keith Bostic
b465e72f36 Change the output line when larger than a GB value, so it's clear when
we're going for the gold.
2013-12-20 12:30:35 -05:00
Keith Bostic
8ed026229d note if big key or data in output 2013-12-20 08:42:26 -05:00
Michael Cahill
fa69e2a994 Update test/3rdparty with the packages required to run the test suite in parallel mode. Change the short command line flag to "-j", matching make.
--HG--
rename : test/3rdparty/testscenarios-0.2/.bzrignore => test/3rdparty/testscenarios-0.4/.bzrignore
rename : test/3rdparty/testscenarios-0.2/Apache-2.0 => test/3rdparty/testscenarios-0.4/Apache-2.0
rename : test/3rdparty/testscenarios-0.2/BSD => test/3rdparty/testscenarios-0.4/BSD
rename : test/3rdparty/testscenarios-0.2/COPYING => test/3rdparty/testscenarios-0.4/COPYING
rename : test/3rdparty/testscenarios-0.2/GOALS => test/3rdparty/testscenarios-0.4/GOALS
rename : test/3rdparty/testscenarios-0.2/HACKING => test/3rdparty/testscenarios-0.4/HACKING
rename : test/3rdparty/testscenarios-0.2/MANIFEST.in => test/3rdparty/testscenarios-0.4/MANIFEST.in
rename : test/3rdparty/testscenarios-0.2/Makefile => test/3rdparty/testscenarios-0.4/Makefile
rename : test/3rdparty/testscenarios-0.2/doc/__init__.py => test/3rdparty/testscenarios-0.4/doc/__init__.py
rename : test/3rdparty/testscenarios-0.2/doc/example.py => test/3rdparty/testscenarios-0.4/doc/example.py
rename : test/3rdparty/testscenarios-0.2/doc/test_sample.py => test/3rdparty/testscenarios-0.4/doc/test_sample.py
rename : test/3rdparty/testtools-0.9.12/doc/conf.py => test/3rdparty/testtools-0.9.34/doc/conf.py
rename : test/3rdparty/testtools-0.9.12/doc/make.bat => test/3rdparty/testtools-0.9.34/doc/make.bat
rename : test/3rdparty/testtools-0.9.12/testtools/_compat2x.py => test/3rdparty/testtools-0.9.34/testtools/_compat2x.py
rename : test/3rdparty/testtools-0.9.12/testtools/_spinner.py => test/3rdparty/testtools-0.9.34/testtools/_spinner.py
rename : test/3rdparty/testtools-0.9.12/testtools/distutilscmd.py => test/3rdparty/testtools-0.9.34/testtools/distutilscmd.py
rename : test/3rdparty/testtools-0.9.12/testtools/monkey.py => test/3rdparty/testtools-0.9.34/testtools/monkey.py
rename : test/3rdparty/testtools-0.9.12/testtools/tests/test_monkey.py => test/3rdparty/testtools-0.9.34/testtools/tests/test_monkey.py
rename : test/3rdparty/testtools-0.9.12/testtools/tests/test_runtest.py => test/3rdparty/testtools-0.9.34/testtools/tests/test_runtest.py
rename : test/3rdparty/testtools-0.9.12/testtools/utils.py => test/3rdparty/testtools-0.9.34/testtools/utils.py
2013-12-20 10:27:28 +11:00
Don Anderson
e2fcf1a851 Show a meaningful error if modules needed for testing in parallel
are not installed.  ref #788
2013-12-19 13:50:15 -05:00
Don Anderson
abd318e5f1 Add '--parallel N' option to run.py. Using '--parallel' requires
that some additional packages are installed: testtools, extras,
python-subunit and concurrencytest.
ref #788
2013-12-19 12:48:50 -05:00
Keith Bostic
8171272755 Merge pull request #821 from wiredtiger/testsuite-directory
Add --dir option to run.py to allow WT_TEST directory to be changed.
2013-12-19 04:03:42 -08:00
Michael Cahill
1490f4e6aa Remove Makefile.in from version control. 2013-12-19 15:33:06 +11:00
Don Anderson
03df27c248 Add --dir option to run.py to allow WT_TEST directory to be changed. 2013-12-18 13:43:24 -05:00
Keith Bostic
67bbd5ef57 Replace the Python "huge" test with a standalone C program -- this isn't
yet debugged for big records on all our systems, but it basically works.
2013-12-18 12:07:16 -05:00
Michael Cahill
3665439e4b Skip the huge key/value test until we can detect where it can be run safely (or converted it to C). 2013-12-18 17:57:42 +11:00
Alex Gorrod
562892d2c5 Merge pull request #800 from wiredtiger/python-auto-close
Using a closed {Cursor,Session,Connection} handle in Python
2013-12-17 22:23:03 -08:00
Keith Bostic
50f5bdeefb Finish renaming test_util05 -> test_verify. 2013-12-17 20:18:16 -05:00
Keith Bostic
9aa469e13e Better/fixed support for huge keys/values.
Change the WT_ITEM::size field from type uint32_t to size_t.

Change test/format configuration to support large key/value items.

Ref: #808 and #70.
2013-12-16 12:55:50 -05:00
Keith Bostic
62967ddd6d Test doesn't need multiple scenarios. 2013-12-16 07:14:41 -05:00
Keith Bostic
0d50ab3161 Turn on salvage, hot backup verify and verify for LSM data sources
(leave LSM off by default, though), check for EBUSY returns instead.
2013-12-12 09:07:40 -05:00
Michael Cahill
8a9328bed4 In test/format, have bloom_oldest imply bloom=1 to avoid an error in WT_SESSION::create. 2013-12-11 10:11:43 +11:00
Don Anderson
67e7b1c79d Using a closed {Cursor,Session,Connection} handle in Python
will not crash the VM on use. ref #485

Uses the event callback for close to give notification on close
of a handle.  For explicit calls to close(), we set the SWIG 'this'
attribute on the containing object to None.

On uses of a handle as an input argument, we check to see if it is
None, or if its 'this' attribute is None, and issue the
appropriate exception.

Includes a set of test cases that parallel Java test cases for the same.
2013-12-10 13:27:09 -05:00
Michael Cahill
41102ae2a8 Make LSM chunk size configurable in test/format. 2013-12-10 16:45:01 +11:00
Michael Cahill
0a03ffc55f Fix a long-standing test/format bug that meant values repeated *way* more often than configured. This showed up because repeating overflow items with large pages result in pathological (quadratic) performance degradation. 2013-12-10 16:40:06 +11:00
Susan LoVerso
c0b4d779d6 Turn off archiving on primary connection. #710 2013-12-09 10:44:21 -05:00
Keith Bostic
a751d36a0d Increase the cache size so eviction doesn't happen, and increase the
allowed pages for "success" so we don't randomly fail.  Closes #787.
2013-12-09 10:03:20 -05:00
Alex Gorrod
cd69b49520 Update test/format to include LSM configuration options. 2013-12-09 19:02:06 +11:00
Michael Cahill
689f1b5eb5 Do a hot backup to test recovery, otherwise the copy can race with log archiving removing a log file. Switch a few tests to use the "standard" backup, use shutil.rmtree instead of our own version. 2013-12-09 12:58:34 +11:00
Keith Bostic
6c9d61f771 Allow replay of threaded runs. 2013-12-07 10:48:52 -05:00
Keith Bostic
797a6a2d5c Get rid of CONFIG.example, it's never correct, futz with the config
error output a little to make it more readable.
2013-12-07 09:29:26 -05:00
Keith Bostic
929f33fc5b Internal WT programs are using WT_UNUSED everywhere, test/bloom was the
last hold-out.   While in the area, noticed test/bloom doesn't need
signal or event handlers, fix function signatures, and there was an
extraneous newline written by the usage function.
2013-12-07 09:12:35 -05:00
Keith Bostic
2c744f2842 Replace an explicit (void)arg with WT_UNUSED. 2013-12-06 19:02:37 -05:00
Keith Bostic
0b4e171313 Add a small hack so the "make check" ignores any local CONFIG file. 2013-12-06 17:00:52 -05:00
Keith Bostic
825310eef0 the maximum value may be -1 when cast to an (int), do the cast in the
other direction after first making sure the supplied value is positive.
2013-12-06 15:12:50 -05:00
Keith Bostic
add06757e6 Add a bunch of the newer LSM configuration options, but leave turned off
for now.
2013-12-06 14:58:11 -05:00