You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by eiri <gi...@git.apache.org> on 2016/05/19 14:35:15 UTC

[GitHub] couchdb-couch pull request: Fix vhosts oauth tests

GitHub user eiri opened a pull request:

    https://github.com/apache/couchdb-couch/pull/175

    Fix vhosts oauth tests

    In eunits the default security is "admin_local" and default security object for it was recently changed. This sets default_security for oauth tests to "everyone", allowing them to pass.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/cloudant/couchdb-couch fix-vhosts-oauth-tests

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/couchdb-couch/pull/175.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #175
    
----
commit 4231163b072466c4be5c71093130cddd14e25219
Author: Eric Avdey <ei...@eiri.ca>
Date:   2016-05-19T14:22:52Z

    Set default_security for oauth tests to everyone

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] couchdb-couch pull request: Fix vhosts oauth tests

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

    https://github.com/apache/couchdb-couch/pull/175


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] couchdb-couch pull request: Fix vhosts oauth tests

Posted by iilyak <gi...@git.apache.org>.
Github user iilyak commented on the pull request:

    https://github.com/apache/couchdb-couch/pull/175#issuecomment-220345148
  
    +1. Tests pass locally.
    ```
        Running test function(s):
          couchdb_vhosts_tests:vhosts_test_/0
    ======================== EUnit ========================
    Virtual Hosts rewrite tests
      couchdb_vhosts_tests:150: should_return_database_info...[0.234 s] ok
      couchdb_vhosts_tests:165: should_return_revs_info...[0.005 s] ok
      couchdb_vhosts_tests:181: should_serve_utils_for_vhost...[0.020 s] ok
      couchdb_vhosts_tests:197: should_return_virtual_request_path_field_in_request...[0.094 s] ok
      couchdb_vhosts_tests:215: should_return_real_request_path_field_in_request...[0.007 s] ok
      couchdb_vhosts_tests:233: should_match_wildcard_vhost...[0.008 s] ok
      couchdb_vhosts_tests:250: should_return_db_info_for_wildcard_vhost_for_custom_db...[0.003 s] ok
      couchdb_vhosts_tests:267: should_replace_rewrite_variables_for_db_and_doc...[0.007 s] ok
      couchdb_vhosts_tests:285: should_return_db_info_for_vhost_with_resource...[0.003 s] ok
      couchdb_vhosts_tests:303: should_return_revs_info_for_vhost_with_resource...[0.005 s] ok
      couchdb_vhosts_tests:320: should_return_db_info_for_vhost_with_wildcard_resource...[0.004 s] ok
      couchdb_vhosts_tests:337: should_return_path_for_vhost_with_wildcard_host...[0.007 s] ok
    [os_mon] cpu supervisor port (cpu_sup): Erlang has closed
      [done in 1.590 s]
    =======================================================
      All 12 tests passed.
    ```


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---