Commit Graph

28 Commits

Author SHA1 Message Date
Doug Rohrer
6665465d62 Updated tests to explicitly set allow_mult and dvv_enabled, as
overriding default_bucket_props in advanced_config without
explicitly setting these returns different values with the fix for
allow_mult turning to true with an app.config file present.

Cherry-picked from 619b24e
2016-03-19 14:55:12 -04:00
Brett Hazen
41d0be08ac While we re removing code:which/1; also do it for http_security 2015-03-11 21:29:55 -06:00
Micah
ce1969d53b Merge pull request #621 from basho/bugfix/mw/pb-cipher-suites-and-http-security
Change http_security uses different directory for certs then pb_cipher_suites
2014-06-05 11:34:28 -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
Micah Warren
fc13bbcf3c Added cacert to http_security path.
While r16b02-basho5 did not need the cacertfile path put in, r16b03 did.
The test still passes r16b02-basho5 with the added cacertfile line. Since
there is no harm in putting it in, better for forwards compatibility than
not.
2014-06-03 12:41:35 -05:00
Micah
b14d093ce5 Merge pull request #589 from basho/vinoski/http_security_cluster
remove localhost dependencies in http_security test
2014-06-03 11:31:00 -05:00
Micah Warren
2b6c86b8bc Removed reference to outdated add-map feature. 2014-06-02 15:18:21 -05:00
Micah Warren
c313638cb4 Using different directory for certs than pb_cipher_suites
There are different cert chains for pb_cipher_suites and http_security.
The certs were not fully cleaned between tests, so it would cause the
test to fail. By just using a different directory to put the certs into,
it better isolates the tests.
2014-05-29 13:48:54 -05:00
Kelly McLaughlin
bc52f94bda Merge branch 'refactor/change-ok-test-returns' 2014-05-22 16:35:08 -06:00
John R. Daily
429064e18b Add tests for bugs reported against riak_core: 917, 918 2014-05-22 18:18:32 -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
Sean Cribbs
3476bf4d7f Added check for list-keys and 2i security on non-default bucket-types. 2014-05-17 12:46:23 -07:00
Steve Vinoski
6e7bbb8b27 remove localhost dependencies in http_security test
Make sure the http_security test works when run on an actual cluster under
rtcloud.
2014-05-13 15:48:09 -04: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
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
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
9f67ed4d8d Add CRDT requests to http_security. 2013-12-09 16:03:43 -06:00
Andrew Thompson
34cd5a0832 Re-instate the deleted key so it appears for list-buckets later 2013-10-26 14:59:01 -04:00
Andrew Thompson
745fbbb2fb Fix fallout from changing allow_mult to true
Also, tweak an error pattern match that seems highly OS/Openssl
dependant.
2013-10-21 14:41:27 -04: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
b87358e12d Compensate fot http moving to riak_api 2013-09-20 15:52:57 -04:00
Andrew Thompson
a625a17c8f More work on http/pb security 2013-09-20 15:39:34 -04:00
Andrew Thompson
c818e18faa Add some more checks to the HTTP test 2013-09-20 15:39:34 -04:00
Andrew Thompson
a9e19c4f41 Add beginnings of HTTP security test 2013-09-20 15:39:34 -04:00