You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by "Joan Touzet (JIRA)" <ji...@apache.org> on 2017/04/20 04:27:04 UTC
[jira] [Created] (COUCHDB-3382) EUnit: couchdb_auth_tests
assertEqual failure
Joan Touzet created COUCHDB-3382:
------------------------------------
Summary: EUnit: couchdb_auth_tests assertEqual failure
Key: COUCHDB-3382
URL: https://issues.apache.org/jira/browse/COUCHDB-3382
Project: CouchDB
Issue Type: Test
Components: Test Suite
Reporter: Joan Touzet
First time I've seen this one. Erlang 18.3, CentOS 7 - one failure so far.
{noformat}
module 'couchdb_auth_tests'
Auth tests
clustered
couchdb_auth_tests:52: should_return_username_on_post_to_session...[0.008 s] ok
couchdb_auth_tests:62: should_not_return_authenticated_field...[0.003 s] ok
couchdb_auth_tests:75: should_return_list_of_handlers...[0.002 s] ok
[done in 0.023 s]
backdoor
couchdb_auth_tests:52: should_return_username_on_post_to_session...*failed*
in function couchdb_auth_tests:'-should_return_username_on_post_to_session/2-fun-0-'/2 (test/couchdb_auth_tests.erl, line 59)
**error:{assertEqual,[{module,couchdb_auth_tests},
{line,59},
{expression,"begin ok = config : set ( \"admins\" , \"rocko\" , \"artischocko\" , false ) , { ok , _ , _ , Body } = test_request : post ( Url , [ { \"Content-Type\" , \"application/json\" } ] , \"{\\\"name\\\":\\\"rocko\\\", \\\"password\\\":\\\"artischocko\\\"}\" ) , { Json } = jiffy : decode ( Body ) , proplists : get_value ( << \"name\" >> , Json ) end"},
{expected,<<"rocko">>},
{value,undefined}]}
output:<<"">>
{noformat}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)