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 return version tests #1295

Merged
merged 4 commits into from
Aug 30, 2024
Merged

Fix return version tests #1295

merged 4 commits into from
Aug 30, 2024

Conversation

jonathangoulding
Copy link
Collaborator

As part of ongoing work to remove database cleans from the test suit we are getting intermittent tests failing mainly due to unique constraints where the range is too small to ensure uniqueness.

This change adds a generate random region code function explaining the issue.

The aim of this change is to encapsulate the issue and remove any need to explain the issue else where in the tests.

As part of ongoing work to remove database cleans from the test suit we are getting intermittent tests failing mainly due to unique constraints where the range is too small to ensure uniqueness.

This change adds a generate random region code function explaining the issue.

The aim of this change is to encapsulate the issue and remove any need to explain the issue else where in the tests.
@jonathangoulding jonathangoulding added bug Something isn't working testing A change to the tests or CI labels Aug 30, 2024
@jonathangoulding jonathangoulding self-assigned this Aug 30, 2024
As part of ongoing work to remove database cleans from the test suit we are getting intermittent tests failing mainly due to unique constraints where the range is too small to ensure uniqueness.

This change adds a generate random region code function explaining the issue.

The aim of this change is to encapsulate the issue and remove any need to explain the issue else where in the tests.
As part of ongoing work to remove database cleans from the test suit we are getting intermittent tests failing mainly due to unique constraints where the range is too small to ensure uniqueness.

This change adds a generate random region code function explaining the issue.

The aim of this change is to encapsulate the issue and remove any need to explain the issue else where in the tests.
test/support/general.js Outdated Show resolved Hide resolved
Co-authored-by: Alan Cruikshanks <[email protected]>
@jonathangoulding jonathangoulding merged commit aebcfb5 into main Aug 30, 2024
6 checks passed
@jonathangoulding jonathangoulding deleted the fix-return-versions-tests branch August 30, 2024 12:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working testing A change to the tests or CI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants