Repository navigation
Description
Bug Description
MSSQL Randomly Failing test:
1 failing
-
[MSSQL] Regressions
does not duplicate columns in ORDER BY statement, Include Where Cause Wrong Query Generated Only In MSSQL Dialect #9008:
AssertionError: expected 'Shaktimaan' to equal 'Aryamaan'
actual expectedShaktimaanAryamaan
at Proxy.assertEqual (/home/runner/work/sequelize/sequelize/node_modules/chai/lib/chai/core/assertions.js:1038:12)
at Proxy.methodWrapper (/home/runner/work/sequelize/sequelize/node_modules/chai/lib/chai/utils/addMethod.js:57:25)
at doAsserterAsyncAndAddThen (/home/runner/work/sequelize/sequelize/node_modules/chai-as-promised/lib/chai-as-promised.js:289:22)
at Proxy. (/home/runner/work/sequelize/sequelize/node_modules/chai-as-promised/lib/chai-as-promised.js:255:20)
at Proxy.overwritingMethodWrapper (/home/runner/work/sequelize/sequelize/node_modules/chai/lib/chai/utils/overwriteMethod.js:78:33)
at Context. (/home/runner/work/sequelize/sequelize/packages/core/test/integration/dialects/mssql/regressions.test.js:104:52)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
Reproducible Example
Run the CI. it will randomly fail this test.
What do you expect to happen?
it should pass
What is actually happening?
The creation of values does not guarantee order.
await Promise.all([
vyom.createLoginLog(),
shakti.createLoginLog(),
nikita.createLoginLog(),
arya.createLoginLog(),
]);
Under reduced enough resources, the promises can resolve in any order, although usually in the order they start in.
Environment
MSSQL CI tests.
Would you be willing to resolve this issue by submitting a Pull Request?
- [x ] Yes, I have the time and I know how to start.
- Yes, I have the time but I will need guidance.
- No, I don't have the time, but my company or I are supporting Sequelize through donations on OpenCollective.
- No, I don't have the time, and I understand that I will need to wait until someone from the community or maintainers is interested in resolving my issue.
Indicate your interest in the resolution of this issue by adding the 👍 reaction. Comments such as "+1" will be removed.
Activity