Uploaded image for project: 'CouchDB'
  1. CouchDB
  2. COUCHDB-3382

EUnit: couchdb_auth_tests assertEqual failure

    XMLWordPrintableJSON

Details

    • Test
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • Test Suite
    • None

    Description

      First time I've seen this one. Erlang 18.3, CentOS 7 - one failure so far.

      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:<<"">>
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              wohali Joan Touzet
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: