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

Commit dd4fc8ec by Rui Marinho

Update port test for postgresql

io.js will complain about the port range not being acceptable.
1 parent b493095e
Showing with 2 additions and 1 deletions
...@@ -119,7 +119,8 @@ describe(Support.getTestDialectTeaser('Sequelize'), function() { ...@@ -119,7 +119,8 @@ describe(Support.getTestDialectTeaser('Sequelize'), function() {
} else if (dialect === 'postgres') { } else if (dialect === 'postgres') {
expect( expect(
err.message.match(/connect ECONNREFUSED/) || err.message.match(/connect ECONNREFUSED/) ||
err.message.match(/invalid port number/) err.message.match(/invalid port number/) ||
err.message.match(/RangeError: Port should be > 0 and < 65536/)
).to.be.ok; ).to.be.ok;
} else if (dialect === 'mssql') { } else if (dialect === 'mssql') {
expect( expect(
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!