Commit Graph

9 Commits

Author SHA1 Message Date
Sean Cribbs
a90a988262 Fix intercepts to work with new do_put return value.
c.f. basho/riak_kv#1047 basho/riak_kv#1046
2014-12-30 16:35:32 -06:00
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
evan
c09375f913 intial version of corruption filtering test 2013-08-16 11:27:25 -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
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
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
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