mirror of
https://github.com/brianc/node-postgres.git
synced 2026-01-18 15:55:05 +00:00
Add failing test for heroku ssl connection
This commit is contained in:
parent
95da124744
commit
f69fe95042
21
test/integration/client/heroku-ssl-tests.js
Normal file
21
test/integration/client/heroku-ssl-tests.js
Normal file
@ -0,0 +1,21 @@
|
||||
var helper = require(__dirname + '/../test-helper');
|
||||
var pg = helper.pg;
|
||||
|
||||
var host = 'ec2-107-20-224-218.compute-1.amazonaws.com';
|
||||
var database = 'db6kfntl5qhp2';
|
||||
var user = 'kwdzdnqpdiilfs';
|
||||
var port = 5432;
|
||||
|
||||
var config = {
|
||||
host: host,
|
||||
port: port,
|
||||
database: database,
|
||||
user: user,
|
||||
ssl: true
|
||||
};
|
||||
|
||||
//connect & disconnect from heroku
|
||||
pg.connect(config, assert.success(function(client, done) {
|
||||
done();
|
||||
pg.end();
|
||||
}));
|
||||
Loading…
x
Reference in New Issue
Block a user