Commit Graph

31 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
Andrew Thompson
6c4afcbcde Switch all the selfsigned certificates to be generated on demand
Using the make_cert tool we can generate arbitrary certificate chains on
demand, so they never have to be regenerated.
2014-05-09 14:46:52 -04:00
Joe DeVivo
ffadda64a2 Fixed all hardcoded references to 127.0.0.1 in replication2_pg 2014-05-01 15:38:02 -06:00
Joe DeVivo
004de13036 potential fix for replication2_pg:test_mixed_pg_ssl 2014-05-01 15:38:02 -06:00
Joe DeVivo
60036e57f4 replication2_pg fixes for rtcloud 2014-05-01 15:30:32 -06:00
Kelly McLaughlin
c5cab6a2b2 Merge branch 'bugfix/replication2-pg-test-pg-proxy' 2014-04-23 14:56:56 -06:00
Kelly McLaughlin
823dd2fe9c Wait for transfers to complete in replication2_pg:test_pg_proxy
Wait for transfers to complete in
replication2_pg:test_pg_proxy. Replication tests that test the n_val=1
request option can fail with insufficient_vnodes errors if the cluster
setup does not include waiting for transfers to complete. Change the
test_pg_proxy test case to wait until transfers complete on the "A"
and "B" clusters before proceeding.
2014-04-17 11:05:41 -06:00
Kelly McLaughlin
be61a1c338 Fix an error that can lead to failure of tests using replication2_pg
Fix an error that can lead to failure of tests using
replication2_pg:test_pg_proxy test case. A protocol buffers connection
is established to a node in the "B" cluster, the leader node from that
cluster is shut down, and then that protocol buffers connection is
used to exercise proxy_get. If the connection was established to the
former leader and that is subsequently shut down it can cause the test
to stall and eventually fail. This changes that test to establish a
new connection to a node remaining in the "B" cluster to use for the
proxy_get and prevents the test from stalling.
2014-04-16 17:38:18 -06:00
Christopher Meiklejohn
dd0581fe06 Provide user helper for running all of the tests. 2014-04-03 19:35:14 +00:00
Christopher Meiklejohn
6db48fc5d0 Adapt test for rtcloud/rtdev. 2014-04-03 19:17:39 +00:00
Christopher Meiklejohn
c6eb0d4827 Improve reliability of test.
Improve the reliability of the proxy_get test by asserting that
ownership transfer completes before killing the leader node.

Related to basho/riak_repl#352.
2014-04-02 14:58:41 -04: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
f6cd532dda fixed API to add redirect on LeaderC 2013-09-11 21:54:22 -04:00
Jon Anderson
4a651379a1 added test for delete_block_requestor_redirect 2013-09-11 15:31:40 -04:00
Jon Anderson
90e4f5edb5 various fixes for cluster_mapping
changed cluster mapping to correct nodes.

fixed logging

a few more fixes aimed at getting closer to passing

added test for issue 306, decommissioned cluster redirection

changes to support use of ring meta-data instead of ring for mapping config

changed to use riak_repl_console:block_provider_redirect/1 for configuration
2013-09-11 15:03:23 -04:00
Dave Parfitt
5d5b6074c2 check for batch matches on retry 2013-07-02 13:09:48 -04:00
Dave Parfitt
58982f9aa7 clean up assert for get w/ options 2013-07-02 12:52:32 -04:00
Dave Parfitt
99d716c471 retain n_val option on notfound 2013-07-02 12:40:39 -04:00
Dave Parfitt
5d763a818d retry if custom options fail 2013-07-02 09:11:07 -04:00
Chris Tilt
5898f24beb Work around riak_test bug by assert(false) instead of fail 2013-06-18 13:17:42 -07:00
Chris Tilt
143bdc09ba Fix tests to use assert(false) instead of fail when not return value. 2013-06-13 10:04:50 -07:00
Chris Tilt
89fb0c1a0d Add riak_test for slf-n_val-sloppy_quorum-options. 2013-06-12 15:30:08 -07:00
Dave Parfitt
3ef87f9b12 fix bidirectional test w/out ssl 2013-06-11 11:33:03 -04:00
Dave Parfitt
e8d5877fa9 don't crash if SSL is enabled for proxy_get tests 2013-06-07 16:03:22 -04:00
Dave Parfitt
1489436b83 added ssl to each proxy_get test 2013-06-07 15:58:03 -04:00
Dave Parfitt
bc3bf4fc0b removed extra ring_convergence waits 2013-05-16 15:17:58 -04:00
Dave Parfitt
e37893eea4 add ?assertEquals around wait_for_pg() calls 2013-05-16 15:11:39 -04:00
Dave Parfitt
a2ae66498f additional proxy_get testing, unfinished 2013-05-16 11:07:16 -04:00
Dave Parfitt
c2e7f84803 misc fixes from review 2013-05-08 12:13:33 -04:00
Joe DeVivo
bf1c8d3166 -t M:F capability 2013-05-02 12:03:59 -04:00
Dave Parfitt
8d6108fd2f added proxy_get tests for 1.4 2013-05-02 12:03:11 -04:00