Commit Graph

18 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
Kelly McLaughlin
0ab2393559 Change replication SSL ACL tests to avoid certificate expiration
Change the ACL test case in the replication_ssl and replication2_ssl
tests to use certificates generated within the tests instead of
relying on certificates created outside the test that are prone to
expire and cause spurious test failure.

Also change the replication_ssl and replication2_ssl tests to avoid a
cycle of standing up the test clusters and then immediately restarting
them before any tests cases execute. This should make the test
execution slightly faster for both test modules.

This commit also changes the tests to be a bit more robust in checking
for cluster state when restarting nodes and removes an unnecessary
five second sleep call in the replication_ssl test.
2014-07-15 12:06:06 -06:00
Kelly McLaughlin
9c5daf0f31 Fix failure of replication_ssl test introduced by 297090d
Change replication_ssl to use the wait_for_site_ips function from the
replication module introduced in
297090ded6 instead of the defunct
verify_site_ips function.
2014-07-14 12:37:32 -06:00
Kelly McLaughlin
0589935931 Fix problems with cert specifications causing replication_ssl to fail
Fix problem with cacertdir specification in replication_ssl test. The
code used load cert files in v2 replication expects the path specific
by the cacertdir key to only be a directory. With v3 replication the
code used is flexible enough to allow a directory or a file. Also
correct a typo in the certfile path for the SSLConfig1 configuration.
2014-06-12 12:38:58 -06: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
Sean Cribbs
59976f25f0 Fix typo true -> false 2014-01-19 12:00:21 -06:00
Sean Cribbs
34b2d3723c Fix tests that used the wrong name for the riak.conf entry for allow_mult. 2014-01-19 11:47:50 -06:00
Andrew Thompson
cab9650212 Disable allow_mult for SSL tests 2014-01-08 12:07:32 -05:00
Andrew Thompson
2b2a9bf859 Renew certificates and handle new return value of wait_until 2014-01-06 16:31:27 -05:00
Andrew Thompson
e1d8a0c135 Make ssl test wait for kv service 2013-06-19 11:51:25 -04:00
Andrew Thompson
8b29a9a36e Add better logging to repl_ssl, improve test somewhat 2013-06-04 14:03:42 -04:00
Joe DeVivo
08ac3fdbed refactored config and local into separate modules 2013-04-26 08:24:58 -07:00
Andrew Thompson
a959e70945 Fix some path and ring convergance issues in repl tests 2013-02-19 22:50:12 -05:00
Chris Tilt
30dd520065 Fix broken calls to make_cluster 2013-01-30 11:20:43 -08:00
Dave Parfitt
9e56bf7fd3 repl test cleanup 2013-01-23 14:48:21 -05:00
Engel A. Sanchez
0e8ecce7d5 Add riak_test behavior 2012-12-14 10:50:49 -05:00
Andrew Thompson
c923cac9fa Fix replication SSL test, broke because of expired certificates 2012-12-04 00:13:21 -05:00
Dave Parfitt
6c797eee64 repl bnw tests 2012-11-16 14:49:28 -05:00