Commit Graph

1095 Commits

Author SHA1 Message Date
Andrew Thompson
35a5f99263 Test handoff with non-defaul;t bucket types 2013-09-11 14:07:55 -04:00
Jared Morrow
4b6fd77a4b Merge pull request #374 from basho/adt-test-offsets
Add optional test list offsetting
2013-09-10 01:11:25 -07:00
Engel Sanchez
7a055aff7d Merge pull request #366 from basho/bos-bucket-type
Test for bucket types over PB
2013-09-06 19:28:50 -07:00
Andrew Thompson
3532a97197 Type -> bucket_type 2013-09-06 17:29:40 -04:00
Andrew Thompson
9296fe3770 Operator precedence is fun 2013-09-06 17:07:09 -04:00
Andrew Thompson
cb955fa324 Add optional test list offsetting
This is useful if you have N workers you want to run the same test suite
against, but would prefer to stagger the start point each worker takes,
so you can get at each test run at least once as soon as possible. The
two required configuration parameters are offset and workers.

Offset is the *relative* offset to start at, not an absolute number. So
example, if you have 6 workers, set the offset to 3 and have 20 tests to
run, that particular worker will start at test #9. The reason absolute
offsets are not used is that if the # of the tests to run changes, you
don't have to reconfigure anything. You'll only need to reconfigure once
the # of workers you're using to run the tests changes.
2013-09-06 16:48:41 -04:00
Engel Sanchez
fb3191c7cd Merge pull request #362 from basho/adt-cluster-of-one
Fix building clusters of one node
2013-09-06 06:50:19 -07:00
Ryan Zezeski
ce446941fa Merge pull request #349 from basho/yz-upgrade-and-app-cfg
Add ability to upgrade and update app cfg
2013-09-05 22:09:53 -07:00
Joe DeVivo
a0f067f8cf Merge pull request #371 from basho/jd-cuttlefish2
Test for fix to riak#372
2013-09-05 06:55:42 -07:00
Andrew Thompson
9f6d2cc25d Make test work with and without indexed backends 2013-09-05 02:35:55 -04:00
Joe DeVivo
9c7ef69c0d proves fix for riak#372 2013-09-04 11:49:52 -07:00
Joe DeVivo
888f36afca Merge pull request #361 from basho/jd-cuttlefish2
Tweaked logic in get_backend to use node_package's latest chkconfig
2013-09-04 09:46:39 -07:00
Joe DeVivo
3b69c92fd2 style changes, from pr #361 2013-09-04 09:22:33 -07:00
Joe DeVivo
8e21192387 tweaks for the most recent node_package 2013-09-04 07:40:35 -07:00
Christopher Meiklejohn
fc966e16b3 Merge pull request #365 from basho/csm-resolve-races
Ensure riak_control starts.
2013-08-28 14:32:39 -07:00
Jared Morrow
8cc544b685 Merge pull request #368 from basho/bugfix/remove-listkeys-check-during-transfers
Remove checks for keys and buckets during transfers from verify_listkeys
2013-08-28 13:20:57 -07:00
Kelly McLaughlin
80c2c30380 Remove checks for keys and buckets during transfers from verify_listkeys
There is way to ensure what portion of the full harvest is returned by
a coverage request during handoffs. A node may start accepting
requests before the data has been handed off and there is no way to
prevent or detect this and no way to have a deterministic test
condition that checks for the presence of all expected keys. This
change removes any checks during transfers. It also and adds a
directive to wait until transfers have completed after a node is added
or removed and before listkeys result verification resumes.
2013-08-28 10:27:51 -06:00
Bryan Fink
a9658ac0e0 Merge pull request #355 from branch 'bwf-mr-errors' 2013-08-28 08:04:30 -04:00
Andrew Thompson
6d91314782 Add lots of mapreduce tests 2013-08-27 14:17:30 -04:00
Christopher Meiklejohn
be0ec088de Ensure riak_control starts.
Since we can't use riak_core node watcher service, we need to block
until the gen_server initializes, is available, and routes have been
added to the webmachine dispatcher.
2013-08-26 19:52:10 -07:00
Christopher Meiklejohn
d3a8010e68 Merge pull request #363 from basho/csm-bring-current
Handle updated partitions resource with n_val information.
2013-08-26 13:58:32 -07:00
Christopher Meiklejohn
65e7943e14 Handle updated partitions resource with n_val information. 2013-08-26 12:54:44 -07:00
Andrew Thompson
3c34b1fe5b Fix building clusters of one node
This fixes the issue added by switching to staged joins that you could
not build clusters of a single node.
2013-08-26 12:51:52 -04:00
Joe DeVivo
9bc2c7b242 Tweaked logic in get_backend to use node_package's latest chkconfig 2013-08-26 07:34:27 -07:00
Ryan Zezeski
10f327c7e9 Merge pull request #359 from basho/rz-wait-for-cmd
Faster wait_for_cmd that preserves order
2013-08-21 09:02:48 -07:00
Ryan Zezeski
f91339a554 Faster wait_for_cmd that preserves order
Remove the receive clause for port data.  This can cause
`wait_for_cmd` to needlessly loop through all stdout msgs before
getting to the port exit.  By just doing selective recv on the exit
msg Erlang will implicit use the "save queue" and place the data msgs
back on the mailbox in the original order of arrival.  In fact, the
previous method could rearrange the stdout ordering.
2013-08-21 11:49:11 -04:00
Russell Brown
a422d41e1c Merge pull request #350 from basho/gh625-stream-timeout
Add test for streaming timeout message
2013-08-21 07:23:33 -07:00
Jon Anderson
03dafe2a42 Merge pull request #354 from basho/jra_overload_test
Test for RTQ mailbox overload handling
2013-08-21 06:52:16 -07:00
Andrew Thompson
499bc68ab2 Test 2i with bucket types 2013-08-20 17:29:27 -04:00
Andrew Thompson
a63707e37d Test that non-default bucket types are not affected by app.config 2013-08-20 17:10:52 -04:00
Andrew Thompson
66b89d9c8f WIP bucket types test 2013-08-20 17:10:52 -04:00
Joe DeVivo
0c33c1a88d Merge pull request #356 from basho/jd-cuttlefish
Now you can test cuttlefish
2013-08-20 13:53:42 -07:00
Joe DeVivo
142a79bcfd a comment here, a comment there 2013-08-20 13:53:13 -07:00
Andrew Thompson
e872ca313c Merge pull request #357 from basho/adt-staged-join
Use staged joins now that we don't need to test riak older than 1.2
2013-08-20 13:06:37 -07:00
Andrew Thompson
7807472eea Only use staged joins for build_cluster 2013-08-20 14:46:46 -04:00
Andrew Thompson
53c338ae55 Use staged joins now that we don't need to test riak older than 1.2
Using staged joins, when building a 4 node cluster, is about a minute
faster than doing 4 sequential joins due to the elimination of redundant
handoff.
2013-08-20 12:53:09 -04:00
Joe DeVivo
8973c76b1d gimme a mic spec 2013-08-20 08:43:45 -07:00
Joe DeVivo
b30161d91d Cuttlefish integration 2013-08-20 08:22:35 -07:00
Bryan Fink
a24cb27e3a ensure mapred error is what it should be
mapred_http_errors makes sure that an MR processing error produces useful
JSON over HTTP
2013-08-19 14:07:41 -04:00
evan
6229805cca Merge branch 'pevm-bad-data-test-master' 2013-08-19 09:27:56 -07:00
Jon Anderson
a2b7100e4e commented out reference to unused intercept 2013-08-19 11:33:36 -04:00
evan
9e14d31f87 tweak for riak_test version 2013-08-16 16:55:46 -07:00
evan
c09375f913 intial version of corruption filtering test 2013-08-16 11:27:25 -07:00
Christopher Meiklejohn
c110f6c310 Merge pull request #351 from basho/csm-control
Update test to be in parity with latest Riak Control.
2013-08-16 10:46:54 -07:00
Jon Anderson
85590f27f4 removed unused intercept references 2013-08-16 09:23:27 -04:00
Jon Anderson
3c9595c44d deleted unused intercept riak_repl2_rtsink_conn_intercepts.erl 2013-08-16 09:19:25 -04:00
Jon Anderson
8ccc95f36e cleaned up comments, output, etc 2013-08-16 08:51:48 -04:00
Jon Anderson
b77588f2b5 added overload_drop checking 2013-08-15 21:18:37 -04:00
Jon Anderson
6714fb21f0 fixed broken intercept, introduced first-time sleep 2013-08-15 17:55:04 -04:00
Jon Anderson
0808693a30 further work on overload test 2013-08-15 16:57:26 -04:00