Commit Graph

26 Commits

Author SHA1 Message Date
Brett Hazen
19a8c67c3c Use code:get_object_code/1 instead of code:which/1 in pb_security 2015-03-11 18:13:40 -06:00
Sean Cribbs
41b60d0328 Make sure the httpd started exits with the test.
Now green when run in sequence:

Test Results:
pb_cipher_suites-bitcask: pass
pb_security-bitcask     : pass
---------------------------------------------
0 Tests Failed
2 Tests Passed
That's 100.0% for those keeping score
2014-12-29 14:08:36 -06:00
Micah Warren
f96847beb8 isolate certs created for the pb_security tests.
This should prevent other tests from interfering in its execution
2014-06-12 17:18:15 -05:00
Micah Warren
3067209a97 Fixed map crdt creation
riakc_map:add/2 no longer exists, so updated the creation of that key to
use the correct update semantics.
2014-06-11 13:25:13 -05:00
Engel A. Sanchez
595c13019d Add wait until bucket type visible
Adding a test to verify a bucket type is visible from a number of nodes
since the active status is given as long as the claimant sees it. But
requests to other nodes can end up hitting the dreaded {error, no_type}.
Also added a general utility that can be used for bucket type checks and
for general verification of bucket properties across nodes.
2014-06-03 14:03:24 -04:00
Kelly McLaughlin
1f538d7ee0 Update tests that return something other than pass for success
As of commit 3044839456 tests that
return something other than the prescribed success atom 'pass' to
indicate success result in test failure. Change tests that return the
atom 'ok' or some other value to instead return 'pass' to indicate
success.
2014-05-22 15:54:23 -06:00
Joe DeVivo
d654a438d7 Using riak_core ssl app settings instead of riak_api 2014-05-13 09:04:34 -07:00
John R. Daily
f4991c86d8 * grant/revoke no longer require all-caps
* Switch to a user name of "Hindi" in Devanagari to test protobuf unicode
* Turn "user" into a variable in http_security so we can test utf-8 usernames when we fix HTTP support for authentication of same
2014-03-21 01:20:12 -04:00
Andrew Thompson
af1691530e Enable siblings for pb_security test 2014-02-20 15:24:14 -05:00
John R. Daily
a1062111fc Bring pb_security test up to date with riak-core security changes 2014-02-12 19:19:08 -05:00
Andrew Thompson
fa8ce65edb Update http/pb security tests to account in changes to riak_search 2013-12-26 18:05:54 -05:00
Andrew Thompson
5d399bd157 Update tests to deal with security enable/disable mechanism 2013-12-23 16:13:48 -05:00
Andrew Thompson
ba2ce4cca2 Add http linkwalk check and check search doesn't start 2013-12-17 13:30:40 -05:00
Andrew Thompson
b72acb2e0f Test that link walking and erlang mapreduce with untrusted modules is not allowed 2013-12-17 13:27:53 -05:00
Sean Cribbs
4974f097cb Add CRDT ops to pb_security. See also riak_kv#669 2013-12-09 12:34:47 -06:00
Andrew Thompson
358ebac654 Update test to reflect that 1.4 counters only work on default bucket type 2013-10-24 00:23:00 -04:00
Andrew Thompson
0d79a24c0e uncomment counter code that was commented out just to make the test pass 2013-10-19 00:43:53 -04:00
Andrew Thompson
1e3bbfbb97 Add CRL tests for the PB protocol, for checking client certificates
Also, add a heavily modified make_certs lib from OTP's test suite for
generating certificates via openssl. make_certs is used to generate a
bunch of certificates and CAs to test various scenarios.
2013-10-17 14:56:42 -04:00
Jordan West
4c1772a03f update pb_security to work w/ new bucket types API 2013-10-04 12:53:12 -07:00
Andrew Thompson
cd7092e115 Be more tolerant of connection failure reasons when using bad certs 2013-10-01 12:24:05 -04:00
Sean Cribbs
005eb52235 Use the INDEX_RESULTS macro instead of matching on the tuple. 2013-10-01 10:00:35 -05:00
Sean Cribbs
633886dd25 R16 wraps the "unknown ca" message in a {tls_error, _} tuple. 2013-10-01 09:59:53 -05:00
Sean Cribbs
2c63e53062 Add a bunch of logging statements and cleanup a little whitespace. 2013-10-01 09:59:15 -05:00
Andrew Thompson
eed6ae04f4 Use rt:connection_info() 2013-09-25 13:52:11 -04:00
Andrew Thompson
a625a17c8f More work on http/pb security 2013-09-20 15:39:34 -04:00
Andrew Thompson
9c10f31f68 Initial test for PB security 2013-09-20 15:39:34 -04:00