Skip to content

chore: fix race condition in auth tenant management tests#3218

Open
jonathanedey wants to merge 2 commits into
mainfrom
je-fix-ten
Open

chore: fix race condition in auth tenant management tests#3218
jonathanedey wants to merge 2 commits into
mainfrom
je-fix-ten

Conversation

@jonathanedey

Copy link
Copy Markdown
Contributor

Fixed a race condition bug in or auth tests causing the tenant to be deleted before some tests that rely on it are completed.

@jonathanedey jonathanedey added the release:stage Stage a release candidate label Jul 23, 2026

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request wraps the deleteTenant() integration test inside a new describe block for tenant deletion operations. The reviewer suggests refactoring the test to use async/await instead of nested .then() promise chains to improve readability and maintainability.

Comment thread test/integration/auth.spec.ts Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release:stage Stage a release candidate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant