Skip to content

OTT Should Use non-static member to capture the last OneTimeToken #16471

Closed
@rwinch

Description

@rwinch

OneTimeTokenLoginConfiguererTests & OneTimeTokenLoginDslTests are flakey because they use a static member variable to capture the OneTimeToken. Since the tests run in parallel one test may override the captured value which can cause the assertion to fail.

Instead, a non-static member should be used. The value can be referenced by accessing the member variable from a Bean.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions