Repository navigation
test: insert record with enums array into schema (#14161) - #14560
Conversation
…lize#14161) Explanation: - User.sync(), which references the schema, was executed before the schema exists - add an `await` before the schema is created to enforce sequencing/synchronocity Subtle style change: - remove word 'even' from test description Addresses only PostgreSQL-portion of issue sequelize#14161
WikiRik
left a comment
There was a problem hiding this comment.
Good catch! Let's hope that this will indeed solve the flaky test
|
Hey :) Thanks for the PR! NB: This is only about the PR title, as it's used as the name of the commit once we squash-merge the PR Not to worry I'll update the commit message in our commit history, so this is not listed in the next release's changelog :) |
|
TY @ephys that's good to know -- maybe more opportunity to update CONTRIBUTING.md 😏 -- sorry for creating more work. I scoured the AngularJS commit recommendation and tried looking at the commit history. Would you recommend this as TangentThe AngularJS commit message document (linked in CONTRIBUTING) includes contradictory examples to their recommendations. For instance, it recommends to drop the past-tense like |
|
@ephys woops, did not notice that before merging 😅 @mike-usa |
Explanation: - User.sync(), which references the schema, was executed before the schema exists - add an `await` before the schema is created to enforce sequencing/synchronocity Subtle style change: - remove word 'even' from test description Addresses only PostgreSQL-portion of issue #14161
|
I just updated the commit message |
Definitely :) I think our note about it is outdated. But there are also further changes I'd like to make:
|
…equelize#14560) Explanation: - User.sync(), which references the schema, was executed before the schema exists - add an `await` before the schema is created to enforce sequencing/synchronocity Subtle style change: - remove word 'even' from test description Addresses only PostgreSQL-portion of issue sequelize#14161
…equelize#14560) Explanation: - User.sync(), which references the schema, was executed before the schema exists - add an `await` before the schema is created to enforce sequencing/synchronocity Subtle style change: - remove word 'even' from test description Addresses only PostgreSQL-portion of issue sequelize#14161
…equelize#14560) Explanation: - User.sync(), which references the schema, was executed before the schema exists - add an `await` before the schema is created to enforce sequencing/synchronocity Subtle style change: - remove word 'even' from test description Addresses only PostgreSQL-portion of issue sequelize#14161
Pull Request Checklist
Please make sure to review and check all of these items:
yarn testoryarn test-DIALECTpass with this change (including linting)?Description Of Change
awaitbefore the schema is created to enforce sequencing/synchronocitySubtle style change:
Addresses only PostgreSQL-portion of issue #14161