Christopher Meiklejohn
0964abb5e3
Add an exhaustive test for AAE based replication.
...
Ensure that AAE replication is tested using all possible failure cases
when dealing with the riak_kv_index_hashtrees and failed connections.
First, use intercepts on riak_kv_vnode and riak_kv_index_hashtree to
ensure that we simulate errors on a per node basis, starting with the
source cluster and moving to the sink. Simulate ownership transfers,
locked and incomplete hashtrees. Verify partitions generate the correct
error count, after using a bounded set of retries, and finally remove
all intercepts and verify that the fullsync completes and all keys have
been migrated between the two clusters.
2014-01-02 16:27:43 -05:00
Engel A. Sanchez
f7bf2c19d4
Merge pull request #493 from basho/feature/2i-1.4.4
...
Test 2i features added in 1.4.4
2013-12-23 17:20:59 -08:00
Micah Warren
2523a96a13
Added many documentation for reduced intercepts.
2013-12-23 14:17:16 -05:00
Micah Warren
49c78e3926
Added test for reduced n/read repair interaction.
...
The added tests ensure that even when forcing read-reapir, reduced objects
are in the proper places and correct values are returned to the clients.
2013-12-23 14:17:16 -05:00
Engel A. Sanchez
20026163a4
Test 2i features added in 1.4.4
...
* 2i AAE test
* term_regex 2i filter tests
* pagination sort tests
* add mixed cluster 2i test
2013-12-20 10:18:07 -05:00
Jordan West
8f8fad10df
cluster meta simulation test
...
this test is not meant to be part of the main riak_test giddyup suites
but it is useful for measuring certain properties of cluster metadata.
2013-12-19 08:32:44 -08:00
Christopher Meiklejohn
11cd845c6c
Add sink verification test.
...
Verify that if the leader election occurs before the ring has converged,
that we still connect to remote sinks.
This test uses an intercept to ensure we can delay the ring events to
occur until after the election.
2013-12-07 15:25:40 -05:00
Christopher Meiklejohn
63e28afbf2
Ensure we re-connect to the proper sink leader.
...
Ensures that when the same node becomes re-elected, we reconnect to all
clusters that may have been not connected.
2013-12-05 16:00:47 -05:00
Jon Anderson
c90a2976a7
added a test for hearbeat crash seen at 41st Param
2013-10-01 12:46:39 -04: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
Jon Anderson
a2b7100e4e
commented out reference to unused intercept
2013-08-19 11:33:36 -04:00
evan
c09375f913
intial version of corruption filtering test
2013-08-16 11:27:25 -07:00
Jon Anderson
3c9595c44d
deleted unused intercept riak_repl2_rtsink_conn_intercepts.erl
2013-08-16 09:19:25 -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
Jon Anderson
3f5482d89a
Riak Test to simulate overload condition where riak_repl2_rtq rmailbox fills, for testing traffic shedding fix
2013-08-14 17:22:45 -04:00
Chris Tilt
4fcb9becd1
Test Realtime Replication Heartbeat feature.
2013-06-18 09:58:52 -07:00
evan
4b8d835861
- Add tests to validate that bucket list streaming is working.
...
- Add tests to validate that timeouts are working correctly for
all variations of list buckets and list keys (stream and non,
timeouts too-short and long-enough).
- add intercept in the right place to simulate delays for large
numbers of keys/buckets returned.
2013-04-18 15:52:04 -07:00
Andrew Thompson
e9dbf5ed0e
Merge pull request #218 from basho/adt-pr-pw-test
...
Test for PR/PW
2013-02-28 10:09:42 -08:00
Bryan Fink
0bc376b86f
remove unnecessary underscores
2013-02-28 10:03:24 -05:00
Andrew Thompson
f5b9465645
Add http client test and dw_val_unsatisfied tests
...
Add an alternate vnode intercept, one that returns failures, rather than
simply never responding.
2013-02-27 18:03:00 -05:00
Andrew Thompson
224f8996c3
Actually make the intercepts work...
2013-02-25 13:52:47 -05:00
Evan Vigil-McClanahan
b364024596
Merge pull request #150 from basho/pevm-timeout-tests
...
new riak_test for HTTP API timeouts
2013-02-25 08:18:42 -08:00
Andrew Thompson
431620975c
Change PR/PW test to use intercepts instead of kill -STOP
...
Thanks to @rzezeski for the help with intercepts
2013-02-23 00:25:08 -05:00
evan
b5e1ed8ddf
update tests to use intercepts instead of meck.
2013-01-31 18:01:14 -08:00
Bryan Fink
4775f257e6
use an intercept instead of riak_core_tracer in pipe handoff test
...
riak_core_tracer was not providing accurate operation counts, but
riak_pipe_vnode_intercept seems to
2013-01-11 12:26:55 -05:00
Sean Cribbs
e76ff55175
Fix function name typo.
2013-01-03 09:23:15 -05:00
Ryan Zezeski
8b91a4b45a
Update gh155 to use intercepts
2012-12-20 16:15:53 -05:00
Ryan Zezeski
d284dcfc22
Add intercepts
...
Intercepts provide the ability to easily and efficiently intercept
function calls. Giving the ability to change the code being executed
as well as affect local and global state.
2012-12-20 16:14:28 -05:00