Skip to content

JWT test failures on Windows #3159

@wohali

Description

@wohali
JwtAuthTest
  * test jwt auth with RSA secret (157.0ms)

  3) test jwt auth with RSA secret (JwtAuthTest)
     test/elixir/test/jwtauth_test.exs:36
     Assertion with == failed
     code:  assert resp.body()["userCtx"]["name"] == "couch@apache.org"
     left:  :null
     right: "couch@apache.org"
     stacktrace:
       test/elixir/test/jwtauth_test.exs:128: JwtAuthTest.test_fun/2
       (couchdbtest) test/elixir/lib/couch/db_test.ex:475: Couch.DBTest.run_on_modified_server/2
       test/elixir/test/jwtauth_test.exs:62: (test)

  * test jwt auth with HMAC secret (15.0ms)

  4) test jwt auth with HMAC secret (JwtAuthTest)
     test/elixir/test/jwtauth_test.exs:6
     Assertion with == failed
     code:  assert resp.body()["userCtx"]["name"] == "couch@apache.org"
     left:  :null
     right: "couch@apache.org"
     stacktrace:
       test/elixir/test/jwtauth_test.exs:128: JwtAuthTest.test_fun/2
       (couchdbtest) test/elixir/lib/couch/db_test.ex:475: Couch.DBTest.run_on_modified_server/2
       test/elixir/test/jwtauth_test.exs:23: (test)

  * test jwt auth with EC secret (16.0ms)

  5) test jwt auth with EC secret (JwtAuthTest)
     test/elixir/test/jwtauth_test.exs:75
     Assertion with == failed
     code:  assert resp.body()["userCtx"]["name"] == "couch@apache.org"
     left:  :null
     right: "couch@apache.org"
     stacktrace:
       test/elixir/test/jwtauth_test.exs:128: JwtAuthTest.test_fun/2
       (couchdbtest) test/elixir/lib/couch/db_test.ex:475: Couch.DBTest.run_on_modified_server/2
       test/elixir/test/jwtauth_test.exs:100: (test)

  * test jwt auth without secret (0.00ms)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions