[
https://issues.apache.org/jira/browse/COUCHDB-3382?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16009670#comment-16009670
]
Jan Lehnardt commented on COUCHDB-3382:
---------------------------------------
I bet this is another spurious 500 error.
> 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)