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: Improve brittle admin user API test #4334

Merged
merged 2 commits into from
Dec 15, 2023

Conversation

svenaas
Copy link
Contributor

@svenaas svenaas commented Dec 15, 2023

Changes which I hope will sufficiently remediate #4333

Changes proposed in this pull request:

  • Explicitly truncate UAAIdentity table after test
  • await createUAAIdentity calls

security considerations

None. This is an effort to prevent an unexpected and inconsistent test failure.

@svenaas svenaas requested a review from drewbo December 15, 2023 17:19
@svenaas
Copy link
Contributor Author

svenaas commented Dec 15, 2023

@drewbo This changes two things I spotted that could potentially allow failures due to timing conditions. I think these are both worthwhile, though I can't be certain this will resolve the matter. It had been a full week since the previous version was merged, with plenty of test runs since before you experienced that failure yesterday.

@svenaas svenaas merged commit 0d0d59e into main Dec 15, 2023
3 checks passed
@svenaas svenaas deleted the 4333-improve-brittle-admin-user-api-test branch December 15, 2023 17:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants