Andrew Thompson
eed6ae04f4
Use rt:connection_info()
2013-09-25 13:52:11 -04:00
Micah Warren
3558dadce5
Added dual tests.
2013-09-25 12:44:59 -05:00
Ryan Zezeski
6cfd6bb18f
Merge pull request #387 from basho/feature/bwf/mr-switch
...
Test new MR Search Switch and "index" spec
2013-09-24 19:33:10 -07:00
Ryan Zezeski
24be991c13
Ditch the crazy bucket vs. index idea
...
The "bucket" is the "index". Chalk it up to poor naming make a long
time ago. We're only human.
2013-09-24 22:30:38 -04:00
Jared Morrow
526aeaa1b2
Use full branch notation in rebar.config
2013-09-24 15:49:54 -06:00
Andrew Thompson
8b9da83e93
Merge pull request #390 from basho/adt-pmap-spawn_link
...
Make rt:pmap use spawn_link
2013-09-24 11:53:10 -07:00
Andrew Thompson
c6ed248e10
Make rt:pmap use spawn_link
...
Without a link, if the worker crashes, riak_test will hang forever
waiting for the worker to send its response message.
2013-09-24 14:46:26 -04:00
Ryan Zezeski
885a98867e
Update crypto call for 16B02
2013-09-24 02:40:26 -04:00
Bryan Fink
7f329aff32
rip out second bucket of data, because bucket filter is no longer used
...
yokozuna mapred_search no longer adds a bucket-name filter when
mapred-searching a bucket, so don't test for it working here
2013-09-23 16:03:20 -04:00
Jared Morrow
aab40030c7
Update setup scripts for 2.0.0
2013-09-23 13:55:28 -06:00
Micah Warren
6ac71b724e
Moved unacked test to rt_cascading and extended it.
2013-09-23 14:53:51 -05:00
Bryan Fink
64cd4455fa
use mochijson2 format for search mapred inputs
...
we have ripped out the earlier {index, Index} option to simplify things
2013-09-23 15:06:46 -04:00
Bryan Fink
42a8981dc6
make riak_search default mapred search provider
...
if both riak_search and yokozuna are enabled, but the
riak_kv:mapred_search appenv has not been set, default to riak_search
2013-09-23 14:40:33 -04:00
Jordan West
6a509e621c
a very simple cluster metadata sanity check
2013-09-21 21:50:54 -07:00
Micah
fe2a602a6b
Merge pull request #384 from basho/feature/mw-reduced-repl
...
Test for reduced replication
2013-09-20 13:16:16 -07:00
Andrew Thompson
b87358e12d
Compensate fot http moving to riak_api
2013-09-20 15:52:57 -04:00
Andrew Thompson
a625a17c8f
More work on http/pb security
2013-09-20 15:39:34 -04:00
Andrew Thompson
c818e18faa
Add some more checks to the HTTP test
2013-09-20 15:39:34 -04:00
Andrew Thompson
a9e19c4f41
Add beginnings of HTTP security test
2013-09-20 15:39:34 -04:00
Andrew Thompson
9c10f31f68
Initial test for PB security
2013-09-20 15:39:34 -04:00
Micah Warren
259e631c99
Added a couple of extra tests to ensure expectations.
2013-09-20 14:36:37 -05:00
Micah Warren
c0933b45ae
Moved rt_unacked into rt_cascading
...
Also added helper funciton and made it easier to run as an individual test
2013-09-20 14:18:32 -05:00
Sean Cribbs
e1d3ef30f5
Merge pull request #380 from basho/feature/sdc-datatypes
...
Add test for CRDT convergence.
2013-09-20 11:40:41 -07:00
Russell Brown
d5b030cc73
Add config changes to speed handoff after heal
...
Set handoff concurrency higher and tick time lower so handoff
happens sooner.
Changed req params on final check to ensure we get a converged value
as soon as possible.
2013-09-20 17:39:34 +01:00
Jon Anderson
edcadb0324
test for bi-directional unack problblem
2013-09-20 10:58:44 -04:00
Russell Brown
4f4caea1b1
Merge branch 'feature/sdc-datatypes' of github.com:basho/riak_test into feature/sdc-datatypes
2013-09-20 08:50:20 +01:00
Bryan Fink
e1f00ab364
verify that yz bucket mr search only produces keys for that bucket
...
it will be translating the bucket search to an index search, but it
should also be filtering that index search by the bucket name
2013-09-19 15:07:06 -04:00
Bryan Fink
6c69244c04
check direct index mr search directly
...
to make sure that riak_search unmaps and that yokozuna doesn't remap
2013-09-19 14:21:32 -04:00
Bryan Fink
6f81c63efe
separate yz bucket name from index name
...
since they don't map 1:1, make sure the translation takes place
also add a wait for the index to become available before writing data
for it
2013-09-19 13:59:35 -04:00
Bryan Fink
d6908e50ed
test that riak uses the correct search system for "search" mr inputs
...
Riak attempts to choose the correct search system (riak_search or
yokozuna) to provide MapReduce inputs when {search, Bucket, Query} is
specified. The `mapred_search_switch` test makes sure that the expected
system is chosen, given the cluster's configuration (whether riak_search
and yokozuna are each enabled, and whether the choice of which to use
has been set explicitly).
2013-09-19 13:03:53 -04:00
Jon Anderson
249fa3bc5c
Merge pull request #386 from basho/jra_unack_cascade_merge
...
Merged unack test into rt_cascading
2013-09-19 06:41:33 -07:00
Jon Anderson
f8ee283bfe
Merge pull request #377 from basho/jra_issue_306-squashed
...
Test for Issue 306
2013-09-18 13:39:04 -07:00
Jon Anderson
61dd95e32a
removed 'true' clause in test activation case statements; replaced with wildcard.
2013-09-18 14:25:06 -04:00
Jon Anderson
7a091cbb99
added configuration for 2 1.3-only tests
2013-09-18 09:36:49 -04:00
Jon Anderson
d3e253d1bc
merged uack test into rt_cascading.erl
2013-09-17 10:44:50 -04:00
Sean Cribbs
07962771a9
Make RT wait until the nodes actually detect the partition.
2013-09-16 11:26:50 -05:00
Jordan West
675e4a6c01
Merge pull request #381 from basho/jrw-readme-updates
...
update README
2013-09-15 19:18:01 -07:00
Sean Cribbs
f264848171
Use create option on all modifications in case the preflists come out strangely.
2013-09-14 13:18:50 -05:00
Jordan West
61c6452881
add deps to edts lib dirs
2013-09-13 13:12:24 -07:00
Sean Cribbs
6e22fbaf55
Use a wait_until when checking the value.
2013-09-13 15:08:13 -05:00
Sean Cribbs
d33d1f4688
Fix copyright date.
2013-09-13 14:43:16 -05:00
Jordan West
989fea3e98
update README
2013-09-13 12:26:18 -07:00
Sean Cribbs
3439e54e85
Add test for CRDT convergence.
...
This requires a build of Riak using:
* basho/riak_kv#650
* basho/riak_pb#52
riak_test should be built with:
* basho/riak_pb#52 (same as above)
* basho/riak-erlang-client#114
This test follows the same outline as the verify_counter_converge
test, which is to:
1. Write a new datatype into the cluster.
2. Check that the value was correctly stored, via connecting to some
other node.
3. Partition the cluster.
4. Perform updates on both sides, verifying that the new values do not
cross the partition.
5. Heal the cluster and show that the data converges according to the
desired behavior.
There is still one outstanding problem with this test, in that maps
have a "reset" behavior when removing a field; namely, embedded types
would be semantically set to a value that resembles their bottom
value, but is actually higher in the partial-order/lattice. We have
decided this behavior is too surprising, especially in the case of
counters, where concurrent reset-removes would result in a
double-counting problem. See L255 for an example.
2013-09-13 12:48:42 -05:00
Jon Anderson
535a8e2f2f
reverted to master
2013-09-11 22:53:34 -04:00
Jon Anderson
f6cd532dda
fixed API to add redirect on LeaderC
2013-09-11 21:54:22 -04:00
Sean Cribbs
580db6f96b
Merge pull request #375 from basho/feature/sdc-wm-move
...
Check riak_api for http connection info.
2013-09-11 13:14:06 -07:00
Sean Cribbs
bc69a59636
Modernize verify_counter_converge to use the rt helpers for a client.
2013-09-11 14:46:50 -05:00
Jon Anderson
4a651379a1
added test for delete_block_requestor_redirect
2013-09-11 15:31:40 -04:00
Jon Anderson
90e4f5edb5
various fixes for cluster_mapping
...
changed cluster mapping to correct nodes.
fixed logging
a few more fixes aimed at getting closer to passing
added test for issue 306, decommissioned cluster redirection
changes to support use of ring meta-data instead of ring for mapping config
changed to use riak_repl_console:block_provider_redirect/1 for configuration
2013-09-11 15:03:23 -04:00
Andrew Thompson
9a3df51631
Merge pull request #376 from basho/adt-bucket-types-handoff
...
Test handoff with non-defaul;t bucket types
2013-09-11 11:12:57 -07:00