Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix flaky test #2565

Merged
merged 1 commit into from
Oct 23, 2023
Merged

fix flaky test #2565

merged 1 commit into from
Oct 23, 2023

Conversation

strehle
Copy link
Member

@strehle strehle commented Oct 21, 2023

This class has many nested test classes
The result is, that oauth client jku_test is deleted and recreated in parallel and this leads to inconsistency which can be solved with the retry. We have this retry on other places already.

Therefore add it now here again. In real such issues wont happen therefore we maybe should solve this with creating own clients for all nested tests. It obviously occurs now more often, why I can not say, but this will prevent it.

Most failing test seen validExpClaim

This class and many nested test classes
The result is, that jku_test is deleted and recreated in parallel and
this leads to inconsistency which can be solved with the retry.
We have this retry on other places already.

Therefore add it now here again. In real such issues wont happen therefore we maybe
should solve this with creating own clients for all nested tests

Most failing test seen validExpClaim
@cf-gitbot
Copy link

We have created an issue in Pivotal Tracker to manage this:

https://www.pivotaltracker.com/story/show/186307126

The labels on this github issue will be updated when the story is started.

@strehle strehle merged commit cae7afd into develop Oct 23, 2023
18 checks passed
@strehle strehle deleted the unit-test-fix branch October 23, 2023 22:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

3 participants