-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add tests for Riak security for HTTP and PB endpoints #385
Conversation
Nodes = rt:build_cluster(4, Conf), | ||
Node = hd(Nodes), | ||
|
||
{ok, [{"127.0.0.1", Port}]} = rpc:call(Node, application, get_env, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should probably use rt:connection_info()
Do I have to generate certs/etc for these tests? When running them I get:
|
The test intentionally tries invalid CAs, those should not cause the test to fail... |
My notes from getting these tests to run:
|
👍 with the provisos listed (ibrowse patch, counters fail), works like a champ |
Add tests for Riak security for HTTP and PB endpoints
Tests don't cover the complete API, but they are the most comprehensive erlang client tests we have. I'm hoping the other client libraries can more completely cover the Riak API with security enabled, because I'm sick of writing client tests ;)
These tests should run against all backends
See also basho/riak#355.