Skip to content

meta(mssql): fix flaky test by not using bulkCreate - #16263

Merged
WikiRik merged 2 commits into
mainfrom
WikiRik/flaky-mssql
Sep 21, 2023
Merged

WikiRik merged 2 commits into
mainfrom
WikiRik/flaky-mssql

Conversation

@WikiRik

@WikiRik WikiRik commented Jul 13, 2023 •

Copy link
Copy Markdown
Member

Pull Request Checklist

  • Have you added new tests to prevent regressions?
  • If a documentation update is necessary, have you opened a PR to the documentation repository?
  • Did you update the typescript typings accordingly (if applicable)?
  • Does the description below contain a link to an existing issue (Closes #[issue]) or a description of the issue you are solving?
  • Does the name of your PR follow our conventions?

Description Of Change

This test was flaky for the sort by id descending, which is likely due to the bulkCreate. Since it does seem that this was added for a separate purpose I did not remove that check for now. We can revisit this when we migrate these regressions to another test suite where also the other dialects will be tested.

@WikiRik
WikiRik requested a review from a team July 13, 2023 18:41
@WikiRik
WikiRik marked this pull request as ready for review July 13, 2023 19:26
@WikiRik
WikiRik requested a review from sdepold July 24, 2023 20:01
@WikiRik

WikiRik commented Sep 15, 2023

Copy link
Copy Markdown
Member Author

@ephys this should reduce the amount of times mssql test suite fails

@sdepold

sdepold commented Sep 21, 2023

Copy link
Copy Markdown
Member

I'm a bit confused on why bulkCreate is not respecting the order of the array 🤔

@WikiRik
WikiRik added this pull request to the merge queue Sep 21, 2023
Merged via the queue into main with commit 910fc55 Sep 21, 2023
@WikiRik
WikiRik deleted the WikiRik/flaky-mssql branch September 21, 2023 17:31
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