Commit Graph

6 Commits

Author SHA1 Message Date
Engel A. Sanchez
556cb7210c Ensure riak_repl service is up across the board
Trying to use the repl features before newly started nodes have
riak_repl completely initialized leads to all sorts of nasty crashes and
noise. Frequently it makes fullsync stuck forever, which makes a lot of
the tests fail.

This also tweaks the AAE fullsync tests to remove assumptions about
failure stats when AAE transient errors occur. The behavior in the
handling of those errors has changed recently with the introduction of
soft exits.
2014-12-18 16:07:00 -05:00
Christopher Meiklejohn
b208394f63 Adapt test with better assertions and new cluster API. 2014-06-05 16:08:08 -04:00
bsparrow435
a5746cb416 Adding re-connection test
Adding onto the existing test to prove that a reconnection to the same
endpoint can occur after the cancelled connection has been removed.
2014-06-04 21:46:57 -04:00
bsparrow435
c89de8dac9 Address PR comments
Changed intercept to explicitly return `{error, econnrefused}`. Moved
helper functions to `repl_util` and added a new helper to distinguish
between disconnects on `cluster_by_name` and `cluster_by_address`
connections.

Added asserts to all wait_for functions.
2014-06-04 19:51:21 -04:00
bsparrow435
941efca4ac Disconnect and cancelled connection tests
Adding tests and intercepts for connection_mgr to test disconnect and
cancelled connection cleanup.
2014-06-02 13:03:11 -04:00
Christopher Meiklejohn
cf515c14ea Add missing replication2_connection test from the 1.4 branch. 2014-01-21 00:17:34 -05:00