Skip to content

Commit

Permalink
Merge branch 'main' into feature/attributesof
Browse files Browse the repository at this point in the history
  • Loading branch information
ephys committed Jan 21, 2022
2 parents 853926c + 1525317 commit 21b8533
Show file tree
Hide file tree
Showing 3 changed files with 435 additions and 435 deletions.
16 changes: 8 additions & 8 deletions package.json
Expand Up @@ -59,13 +59,13 @@
},
"devDependencies": {
"@rushstack/eslint-patch": "1.1.0",
"@commitlint/cli": "16.0.2",
"@commitlint/cli": "16.1.0",
"@commitlint/config-angular": "16.0.0",
"@ephys/eslint-config-typescript": "14.0.0",
"@ephys/eslint-config-typescript": "14.1.1",
"@types/chai": "4.3.0",
"@types/mocha": "9.0.0",
"@types/node": "16.11.19",
"@types/sinon": "10.0.6",
"@types/node": "16.11.21",
"@types/sinon": "10.0.8",
"@types/validator": "13.7.1",
"acorn": "8.7.0",
"chai": "4.3.4",
Expand All @@ -89,7 +89,7 @@
"fs-jetpack": "4.3.1",
"husky": "7.0.4",
"lcov-result-merger": "3.1.0",
"lint-staged": "12.1.7",
"lint-staged": "12.2.2",
"mariadb": "2.5.5",
"markdownlint-cli": "0.30.0",
"mocha": "7.2.0",
Expand All @@ -105,15 +105,15 @@
"pg": "8.7.1",
"pg-hstore": "2.3.4",
"rimraf": "3.0.2",
"semantic-release": "18.0.1",
"semantic-release": "19.0.2",
"semantic-release-fail-on-major-bump": "1.0.0",
"sinon": "12.0.1",
"sinon-chai": "3.7.0",
"snowflake-sdk": "1.6.6",
"source-map-support": "0.5.21",
"sqlite3": "npm:@vscode/sqlite3@5.0.7",
"tedious": "8.3.0",
"typescript": "4.5.4"
"tedious": "8.3.1",
"typescript": "4.5.5"
},
"peerDependenciesMeta": {
"pg": {
Expand Down
6 changes: 4 additions & 2 deletions test/integration/dialects/mssql/connection-manager.test.js
Expand Up @@ -11,7 +11,8 @@ const dialect = Support.getTestDialect();
if (dialect.startsWith('mssql')) {
describe('[MSSQL Specific] Connection Manager', () => {
describe('Errors', () => {
it('ECONNREFUSED', async () => {
// TODO [>=7.0.0-beta]: Refactor so this is the only connection it tries to connect with
it.skip('ECONNREFUSED', async () => {
const sequelize = Support.createSequelizeInstance({ host: '127.0.0.1', port: 34_237 });
await expect(sequelize.connectionManager.getConnection()).to.have.been.rejectedWith(Sequelize.ConnectionRefusedError);
});
Expand All @@ -21,7 +22,8 @@ if (dialect.startsWith('mssql')) {
await expect(sequelize.connectionManager.getConnection()).to.have.been.rejectedWith(Sequelize.HostNotFoundError);
});

it('EHOSTUNREACH', async () => {
// TODO [>=7.0.0-beta]: Refactor so this is the only connection it tries to connect with
it.skip('EHOSTUNREACH', async () => {
const sequelize = Support.createSequelizeInstance({ host: '255.255.255.255' });
await expect(sequelize.connectionManager.getConnection()).to.have.been.rejectedWith(Sequelize.HostNotReachableError);
});
Expand Down

0 comments on commit 21b8533

Please sign in to comment.