不要怂,就是干,撸起袖子干!

Commit a7899041 by Sushant Committed by GitHub

chores: update dependencies (#9235)

1 parent 223b13a2
......@@ -6,16 +6,16 @@ Start-Service sqlbrowser
[reflection.assembly]::LoadWithPartialName("Microsoft.SqlServer.SqlWmiManagement") | Out-Null
$wmi = New-Object('Microsoft.SqlServer.Management.Smo.Wmi.ManagedComputer')
$tcp = $wmi.GetSmoObject("ManagedComputer[@Name='${env:computername}']/ServerInstance[@Name='SQL2016']/ServerProtocol[@Name='Tcp']")
$tcp = $wmi.GetSmoObject("ManagedComputer[@Name='${env:computername}']/ServerInstance[@Name='SQL2017']/ServerProtocol[@Name='Tcp']")
$tcp.IsEnabled = $true
$tcp.Alter()
$wmi = New-Object('Microsoft.SqlServer.Management.Smo.Wmi.ManagedComputer')
$ipall = $wmi.GetSmoObject("ManagedComputer[@Name='${env:computername}']/ServerInstance[@Name='SQL2016']/ServerProtocol[@Name='Tcp']/IPAddress[@Name='IPAll']")
$ipall = $wmi.GetSmoObject("ManagedComputer[@Name='${env:computername}']/ServerInstance[@Name='SQL2017']/ServerProtocol[@Name='Tcp']/IPAddress[@Name='IPAll']")
$port = $ipall.IPAddressProperties.Item("TcpDynamicPorts").Value
$config = @{
instanceName = "SQL2016"
instanceName = "SQL2017"
host = "localhost"
username = "sa"
password = "Password12!"
......
......@@ -4,7 +4,7 @@ platform:
- x64
services:
- mssql2016
- mssql2017
shallow_clone: true
......
......@@ -26,7 +26,7 @@
"generic-pool": "^3.4.0",
"inflection": "1.12.0",
"lodash": "^4.17.1",
"moment": "^2.20.0",
"moment": "^2.21.0",
"moment-timezone": "^0.5.14",
"retry-as-promised": "^2.3.2",
"semver": "^5.5.0",
......@@ -37,37 +37,37 @@
"wkx": "^0.4.1"
},
"devDependencies": {
"@semantic-release/github": "^4.2.6",
"@semantic-release/npm": "^3.2.2",
"chai": "^4.1.2",
"chai-as-promised": "^7.1.1",
"chai-datetime": "^1.5.0",
"chai-spies": "^1.0.0",
"@semantic-release/github": "^4.x",
"@semantic-release/npm": "^3.x",
"chai": "^4.x",
"chai-as-promised": "^7.x",
"chai-datetime": "^1.x",
"chai-spies": "^1.x",
"cheerio": "^1.0.0-rc.2",
"commitizen": "^2.9.6",
"continuation-local-storage": "^3.2.0",
"cross-env": "^5.0.5",
"cz-conventional-changelog": "^2.0.0",
"env-cmd": "^7.0.0",
"commitizen": "^2.x",
"continuation-local-storage": "^3.x",
"cross-env": "^5.x",
"cz-conventional-changelog": "^2.x",
"env-cmd": "^7.x",
"esdoc": "^0.5.2",
"eslint": "^4.16.0",
"eslint-plugin-mocha": "^4.11.0",
"hints": "^1.1.0",
"husky": "^0.14.2",
"istanbul": "^0.4.5",
"lcov-result-merger": "^2.0.0",
"mocha": "^5.0.4",
"eslint": "^4.x",
"eslint-plugin-mocha": "^4.x",
"hints": "^1.x",
"husky": "^0.x",
"istanbul": "^0.x",
"lcov-result-merger": "^2.x",
"mocha": "^5.x",
"mysql2": "^1.x",
"pg": "^7.x",
"pg-hstore": "^2.3.2",
"pg-hstore": "^2.x",
"pg-native": "^2.x",
"pg-types": "^1.x",
"rimraf": "^2.5.4",
"semantic-release": "^15.0.0",
"sinon": "^4.3.0",
"sinon-chai": "^2.14.0",
"sqlite3": "^3.x",
"tedious": "1.14.0",
"rimraf": "^2.x",
"semantic-release": "^15.x",
"sinon": "^4.x",
"sinon-chai": "^2.x",
"sqlite3": "^4.x",
"tedious": "^2.x",
"uuid-validate": "^0.0.2",
"validate-commit-msg": "^2.12.2"
},
......
......@@ -82,7 +82,7 @@ if (dialect.match(/^mssql/)) {
describe('Errors', () => {
it('ECONNREFUSED', () => {
const sequelize = Support.createSequelizeInstance({ port: 34237 });
const sequelize = Support.createSequelizeInstance({ host: '127.0.0.1', port: 34237 });
return expect(sequelize.connectionManager.getConnection()).to.have.been.rejectedWith(sequelize.ConnectionRefusedError);
});
......
......@@ -152,7 +152,8 @@ describe(Support.getTestDialectTeaser('Sequelize'), () => {
err.message.match(/connect ECONNREFUSED/) ||
err.message.match(/invalid port number/) ||
err.message.match(/should be >=? 0 and < 65536/) ||
err.message.match(/Login failed for user/)
err.message.match(/Login failed for user/) ||
err.message.match(/Port must be > 0 and < 65536/)
).to.be.ok;
});
});
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!