Commit Graph

17 Commits

Author SHA1 Message Date
Ted Burghart
5c9169fe49 Fixed typos.
Reordered tests to use lighter configurations.
Added test for mismatched ACL.
Added timeout override.
2015-03-13 07:09:05 -04:00
Ted Burghart
ab75a72b43 Restructured how connectivity tests are configured and run [RIAK-1608].
Due to leftover configuration attributes from prior tests within this module (see RIAK-1607), the order of tests has to be managed.  In order to accomplish this and be able to see exactly what configurations are used for each test, configuration blocks have been more directly associated with each connectivity test.
2015-03-12 15:07:36 -04:00
Doug Rohrer
137a11c690 Address review comments & add more tests
- Change Path -> DirName in make_certs
- Added both more basic and more advanced tests with wildcard certs
2015-02-12 08:40:18 -05:00
Doug Rohrer
965522c705 Better support for wildcard certificates:
- Update make_certs to support wildcard certificates by passing an additional Path parameter.
- add replication2_ssl test to ensure using wildcard certificates works after PR to riak_core_ssl_util.
2015-02-11 16:27:39 -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
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
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
10d8ea7646 Make sure we wait for riak_repl service after reconfiguring nodes 2013-06-03 17:38:13 -04:00
Andrew Thompson
ebec43966e Clean up connections between tests, so we don't get false positives 2013-04-29 14:24:03 -04:00
Joe DeVivo
08ac3fdbed refactored config and local into separate modules 2013-04-26 08:24:58 -07:00
Andrew Thompson
fadc9853c3 Add tests when server/client doesn't support SSL, but other side does 2013-04-03 13:43:08 -04:00
Andrew Thompson
b7dfd55554 Get rid of old cluster connection 2013-04-03 11:44:47 -04:00
Andrew Thompson
84a2856ce3 Add replication2 SSL test, fix wait_for_connection
Wait for connection was considering a connection *trying* to connect as
a valid connection, which is wrong.
2013-04-03 11:44:47 -04:00