Commit Graph

6 Commits

Author SHA1 Message Date
Nick Marino
2be9c2f83b Fix race in repl_rt_heartbeat due to short timeout
One particular timeout in the repl_rt_heartbeat test was slightly too
short, which could cause us to occasionally hit a false positive on this
test if various timings lined up just right. This PR bumps up the
timeout, which should prevent this from happening again.

I would really like to do a proper fix for this, which would use
intercepts or something to confirm that the actual timeout is being hit
in the code...but we don't really have time for that, and a half fix is
better than no fix I suppose.
2015-11-23 11:09:21 -05:00
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
Kelly McLaughlin
aca2606fbd Change heartbeat timeout to seconds in repl_rt_heartbeat test
The heartbeat timeout enforcement was recently updated to be
specified in seconds to match the documentation for that option. The
repl_rt_heartbeat test has since been failing since it still specified
the timeout in milliseconds.  This change makes the test use seconds
for the heartbeat timeout gets the test passing again.
2014-02-19 16:48:31 -07:00
Jon Anderson
f2e399dc5c corrected type in print and changed number of writes 2013-10-01 12:46:39 -04:00
Jon Anderson
c90a2976a7 added a test for hearbeat crash seen at 41st Param 2013-10-01 12:46:39 -04:00
Chris Tilt
4fcb9becd1 Test Realtime Replication Heartbeat feature. 2013-06-18 09:58:52 -07:00