8000 Flaky test: test &Oidcc.client_credentials_token/2 works (Oidcc.TokenTest) · Issue #389 · erlef/oidcc · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Flaky test: test &Oidcc.client_credentials_token/2 works (Oidcc.TokenTest) #389
Open
@dustinfarris

Description

@dustinfarris

oidcc version

b3bb1a9

Erlang version

27.0.1

Elixir version

1.17.2

Summary

There is a flaky test.

Current behavior

occassionally this test fails

  1) test &Oidcc.client_credentials_token/2 works (Oidcc.TokenTest)
     test/oidcc/token_test.exs:211
     match (=) failed
     code:  assert {:ok, %Token{}} =
              Oidcc.Token.client_credentials(
                client_context,
                %{scope: ["openid"]}
              )
     left:  {:ok, %Oidcc.Token{}}
     right: {:error, :no_matching_key}
     stacktrace:
       test/oidcc/token_test.exs:224: (test)

How to reproduce

mix test

Expected behavior

all tests should pass

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0