Commit Graph

4 Commits

Author SHA1 Message Date
Kelly McLaughlin
e2a1ccd653 Wait for realtime connections after node upgrades in replication tests
Prior to Riak 1.4.8 replication registers as a service prior to
completing all initialization tasks including establishing realtime
connections to sink clusters. This leads to a race condition in the
replication_upgrade and replication2_upgrade tests where the test may
begin writing data to the source cluster to verify the function of
realtime replication before the most recently upgraded node
establishes a connection to the sink cluster. The result of this is
that the data is silently discarded by the realtime replication system
and the test fails because all of the expected data is not replicated
and able to be read on the sink cluster. Change the
replication_upgrade and replication2_upgrade tests to explicitly wait
for the realtime connection to be established after each source
cluster node is upgraded before proceeding with the test.
2014-04-24 21:43:05 -06:00
Joe DeVivo
08ac3fdbed refactored config and local into separate modules 2013-04-26 08:24:58 -07:00
Chris Tilt
950db199af Improve Upgrade test for replication2
* Check for node stopped after asking it to stop in the upgrade
* Add better debugging to aid in determining which stage failed
2013-03-15 14:35:33 -07:00
Chris Tilt
2307835000 Test upgrades from older BNW repl to newer BNW repl 2013-03-15 14:32:23 -07:00