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

enum tests: ignore type unique violation #1032

Merged
merged 1 commit into from
Jan 9, 2024
Merged

enum tests: ignore type unique violation #1032

merged 1 commit into from
Jan 9, 2024

Conversation

Amogh-Bharadwaj
Copy link
Contributor

Tests were flaking because enum tests were trying to create the mood enum in parallel.
Unfortunately, CREATE TYPE IF NOT EXISTS is not a thing, and doing DROP TYPE IF EXISTS before every enum creation can be flaky.
Solution is to just ignore the specific unique typename constraint violation

@Amogh-Bharadwaj Amogh-Bharadwaj changed the title tests: ignore type unique violation enum tests: ignore type unique violation Jan 9, 2024
@serprex serprex merged commit c46636c into main Jan 9, 2024
4 of 7 checks passed
@serprex serprex deleted the fix-enum-tests branch July 19, 2024 15:22
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